Package ch.tocco.nice2.security.api
Interface Role
- All Known Implementing Classes:
ModifiableRole
public interface Role
A principal's role. The roles are used to group a set of permissions for a specific
kind of user (e.g. administrator, known user, guest).
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addImplied
(Role role) getName()
boolean
removeImplied
(Role role) boolean
-
Method Details
-
getName
String getName() -
getImplied
-
addImplied
- Throws:
UnauthorizedException
-
removeImplied
- Throws:
UnauthorizedException
-
requiresTwoFactorAuth
boolean requiresTwoFactorAuth()
-