- All Superinterfaces:
AbacSupport
,Principal
- All Known Implementing Classes:
JsonWebTokenImpl
A security principal.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.security.util.AbacSupport
AbacSupport.BasicAttributes
-
Method Summary
Methods inherited from interface io.helidon.security.util.AbacSupport
abacAttribute, abacAttributeNames, abacAttributeRaw
-
Method Details
-
id
String id()Id of this principal.- Returns:
- id if defined, name otherwise
-
builder
Creates a fluent API builder to build new instances of this class.- Returns:
- a builder instance
-
create
Create a principal instance for an id (or name).- Parameters:
id
- identification used both for name and id attributes of this principal- Returns:
- a new principal with the specified id (and name)
-