- All Known Subinterfaces:
Principal
- All Known Implementing Classes:
AbacSupport.BasicAttributes
,EndpointConfig
,Grant
,ProviderRequest
,Role
,SecurityEnvironment
,Subject
public interface AbacSupport
A simple registry of keys to values for reading.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
ImplementsAbacSupport
interface and supports adding attributes. -
Method Summary
Modifier and TypeMethodDescriptionabacAttribute
(String key) Get the property (optional) value.A collection of all property names in this container.abacAttributeRaw
(String key) Return the actual property value or null if not present.
-
Method Details
-
abacAttributeRaw
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
-
abacAttribute
Get the property (optional) value.- Parameters:
key
- key (name) of the property- Returns:
- value of the property if exists or empty
-