Package ch.tocco.nice2.security.impl
Class AclImpliedRolesContributor
java.lang.Object
ch.tocco.nice2.security.impl.AclImpliedRolesContributor
- All Implemented Interfaces:
ImpliedRoleContributor
-
Constructor Summary
ConstructorDescriptionAclImpliedRolesContributor
(org.slf4j.Logger log, ThreadHandlerManager threadHandlerManager) -
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.void
void
setPolicyProviders
(List<PolicyProvider> providers)
-
Constructor Details
-
AclImpliedRolesContributor
-
-
Method Details
-
initializeService
@PostConstruct public void initializeService() -
hasMappingFor
Description copied from interface:ImpliedRoleContributor
Returns true if the specified role is known to imply roles.- Specified by:
hasMappingFor
in interfaceImpliedRoleContributor
-
getImpliedRolesFor
Description copied from interface:ImpliedRoleContributor
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.- Specified by:
getImpliedRolesFor
in interfaceImpliedRoleContributor
-
setPolicyProviders
-