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 classes/interfaces inherited from interface io.helidon.security.util.AbacSupport
AbacSupport.BasicAttributes
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Role.Builder
builder()
Creates a fluent API builder to build new instances of this class.static Role
Create a role based on a name without any attributes.Methods inherited from class io.helidon.security.Grant
abacAttributeNames, abacAttributeRaw, equals, getName, hashCode, origin, toString, type
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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
-