Class Role
java.lang.Object
io.helidon.security.Grant
io.helidon.security.Role
- All Implemented Interfaces:
AbacSupport, Principal
A security role used in RBAC (role based access control) schemes.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface AbacSupport
AbacSupport.BasicAttributesModifier and TypeInterfaceDescriptionstatic classImplementsAbacSupportinterface and supports adding attributes. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic Role.Builderbuilder()Creates a fluent API builder to build new instances of this class.static RoleCreate a role based on a name without any attributes.Methods inherited from class Grant
abacAttributeNames, abacAttributeRaw, equals, getName, hashCode, origin, toString, typeModifier and TypeMethodDescriptionA collection of all property names in this container.abacAttributeRaw(String key) Return the actual property value or null if not present.booleangetName()inthashCode()origin()Origin of this grant - this may be an arbitrary string, URI, component creating it etc.toString()type()Type of this grant.Methods inherited from interface AbacSupport
abacAttribute
-
Field Details
-
ROLE_TYPE
-
-
Method Details
-
create
-
builder
Creates a fluent API builder to build new instances of this class.- Returns:
- a builder instance
-