]
David Lloyd resolved ELY-461.
-----------------------------
Fix Version/s: 1.1.0.Beta5
Resolution: Done
Enhancements to PermissionMapper, RoleMapper, RoleDecoder
---------------------------------------------------------
Key: ELY-461
URL:
https://issues.jboss.org/browse/ELY-461
Project: WildFly Elytron
Issue Type: Enhancement
Components: API / SPI, Permissions
Reporter: David Lloyd
Assignee: David Lloyd
Fix For: 1.1.0.Beta5
Change RoleMapper, RoleDecoder, etc. to return new interface Roles which is iterable
& has contains() method. Add chaining & etc. capabilities.
Change PermissionMapper to return new interface PermissionThing (come up with a name),
which only has implies(Permission) & maybe default method checkPermission.
Change RoleDecoder to accept AuthorizationIdentity.
Change PermissionMapper to accept SecurityIdentity instead.
Add stuff to SecurityIdentity.