Package ch.tocco.nice2.security.spi
Interface ImpliedRoleContributor
- All Known Implementing Classes:
AclImpliedRolesContributor
public interface ImpliedRoleContributor
Contribute a mapping for roles that imply other roles.
The roles returned for a key-role may in turn contain other
implied roles accessible via
Role.getImplied()
.-
Method Summary
Modifier and TypeMethodDescriptiongetImpliedRolesFor
(Role role) Return a collection of roles that are implied by the specified role.boolean
hasMappingFor
(Role role) Returns true if the specified role is known to imply roles.
-
Method Details
-
hasMappingFor
Returns true if the specified role is known to imply roles. -
getImpliedRolesFor
Return a collection of roles that are implied by the specified role. Any role in the collection may contain another set of implied roles. Returns an empty collection if there is no implied role.
-