Package ch.tocco.nice2.security.api
Interface ImpliedRolesProvider
- All Known Implementing Classes:
ImpliedRolesProviderImpl
public interface ImpliedRolesProvider
Provider for implied roles. The roles are allowed to specify a set of roles
that are considered to be implied by the first role. When logging in a principal
all implied roles are added to the list of authorities of this principal.
This service contains all mappings of one role to a set of implied roles.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsRole
(Role role) Returns whether the specified role defines any implied roles.getImpliedRoles
(Role role) Returns the set of roles implied by the specified one.
-
Method Details
-
containsRole
Returns whether the specified role defines any implied roles. -
getImpliedRoles
Returns the set of roles implied by the specified one.
-