Interface AbacSupport

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.
  • Method Details

    • 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
    • abacAttribute

      default Optional<Object> abacAttribute(String key)
      Get the property (optional) value.
      Parameters:
      key - key (name) of the property
      Returns:
      value of the property if exists or empty