-
- All Superinterfaces:
AbacSupport
,Principal
- All Known Implementing Classes:
JsonWebTokenImpl
public interface Principal extends AbacSupport, Principal
A security principal.- See Also:
Principal
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Principal.Builder
A fluent API builder forPrincipal
.-
Nested classes/interfaces inherited from interface io.helidon.security.util.AbacSupport
AbacSupport.BasicAttributes
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static Principal.Builder
builder()
Creates a fluent API builder to build new instances of this class.static Principal
create(String id)
Create a principal instance for an id (or name).String
id()
Id of this principal.-
Methods inherited from interface io.helidon.security.util.AbacSupport
abacAttribute, abacAttributeNames, abacAttributeRaw
-
-
-
-
Method Detail
-
id
String id()
Id of this principal.- Returns:
- id if defined, name otherwise
-
builder
static Principal.Builder builder()
Creates a fluent API builder to build new instances of this class.- Returns:
- a builder instance
-
-