-
- All Known Subinterfaces:
Principal
- All Known Implementing Classes:
AbacSupport.BasicAttributes
,EndpointConfig
,Grant
,JsonWebTokenImpl
,ProviderRequest
,Role
,SecurityEnvironment
,Subject
public interface AbacSupport
A simple registry of keys to values for reading.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
AbacSupport.BasicAttributes
ImplementsAbacSupport
interface and supports adding attributes.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Optional<Object>
abacAttribute(String key)
Get the property (optional) value.Collection<String>
abacAttributeNames()
A collection of all property names in this container.Object
abacAttributeRaw(String key)
Return the actual property value or null if not present.
-
-
-
Method Detail
-
abacAttributeRaw
Object abacAttributeRaw(String key)
Return the actual property value or null if not present. This is the only method that needs to be implemented.- Parameters:
key
- key (name) of the property- Returns:
- value of the property or null
-
abacAttributeNames
Collection<String> abacAttributeNames()
A collection of all property names in this container.- Returns:
- collection of keys
-
-