java.lang.Object
io.helidon.security.util.AbacSupport.BasicAttributes
- All Implemented Interfaces:
AbacSupport
- Enclosing interface:
AbacSupport
Implements
AbacSupport interface and supports adding attributes.
This class is mutable and thread safe.-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.security.util.AbacSupport
AbacSupport.BasicAttributes -
Method Summary
Modifier and TypeMethodDescriptionA collection of all property names in this container.abacAttributeRaw(String key) Return the actual property value or null if not present.static AbacSupport.BasicAttributescreate()Create empty basic attributes.static AbacSupport.BasicAttributescreate(AbacSupport toCopy) Create basic attributes that have all attributes of the toCopy.voidPut a new attribute to this instance.toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.helidon.security.util.AbacSupport
abacAttribute
-
Method Details
-
create
Create empty basic attributes.- Returns:
- basic attributes
-
create
Create basic attributes that have all attributes of the toCopy.- Parameters:
toCopy- abac support to copy- Returns:
- basic attributes with all attributes of the toCopy
AbacSupport
-
put
Put a new attribute to this instance.- Parameters:
classifier- classifier (name) of the attributevalue- attribute value
-
abacAttributeNames
Description copied from interface:AbacSupportA collection of all property names in this container.- Specified by:
abacAttributeNamesin interfaceAbacSupport- Returns:
- collection of keys
-
abacAttributeRaw
Description copied from interface:AbacSupportReturn the actual property value or null if not present. This is the only method that needs to be implemented.- Specified by:
abacAttributeRawin interfaceAbacSupport- Parameters:
key- key (name) of the property- Returns:
- value of the property or null
-
toString
-