Class Role
java.lang.Object
io.vertigo.core.node.definition.AbstractDefinition<Role>
io.vertigo.account.authorization.definitions.Role
- All Implemented Interfaces:
io.vertigo.core.node.definition.Definition
Role is a coherent group of more atomic authorizations.
Users have multiple roles.
Applications could use a concept of "profils" as a list of roles, but this concept isn't in this module's scope.
- Author:
- prahmoune, npiedeloup
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRole(String name, String description, List<Authorization> authorizations) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class io.vertigo.core.node.definition.AbstractDefinition
idMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.vertigo.core.node.definition.Definition
getName
-
Field Details
-
PREFIX
- See Also:
-
-
Constructor Details
-
Role
Constructor.- Parameters:
name- Role namedescription- Role descriptionauthorizations- Authorizations list of this role
-
-
Method Details
-
getDescription
- Returns:
- Description
-
getAuthorizations
- Returns:
- Authorizations list of this role
-