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 io.helidon.security.util.AbacSupport
AbacSupport.BasicAttributes -
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 io.helidon.security.Grant
abacAttributeNames, abacAttributeRaw, equals, getName, hashCode, origin, toString, typeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.helidon.security.util.AbacSupport
abacAttribute
-
Field Details
-
ROLE_TYPE
Type of grant used inGrant.type().- See Also:
-
-
Method Details
-
create
Create a role based on a name without any attributes.- Parameters:
name- name of role- Returns:
- a new role instance
-
builder
Creates a fluent API builder to build new instances of this class.- Returns:
- a builder instance
-