Package ch.tocco.nice2.security.impl
Class ImpliedRolesProviderImpl
java.lang.Object
ch.tocco.nice2.security.impl.ImpliedRolesProviderImpl
- All Implemented Interfaces:
ImpliedRolesProvider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addContributor
(ImpliedRoleContributor contrib) boolean
containsRole
(Role role) Returns whether the specified role defines any implied roles.getImpliedRoles
(Role rolename) Returns the set of roles implied by the specified one.void
setContributors
(List<ImpliedRoleContributor> contributors)
-
Constructor Details
-
ImpliedRolesProviderImpl
public ImpliedRolesProviderImpl()
-
-
Method Details
-
containsRole
Description copied from interface:ImpliedRolesProvider
Returns whether the specified role defines any implied roles.- Specified by:
containsRole
in interfaceImpliedRolesProvider
-
getImpliedRoles
Description copied from interface:ImpliedRolesProvider
Returns the set of roles implied by the specified one.- Specified by:
getImpliedRoles
in interfaceImpliedRolesProvider
-
setContributors
-
addContributor
-