Class AbacSupport.BasicAttributes

  • All Implemented Interfaces:
    AbacSupport
    Enclosing interface:
    AbacSupport

    public static class AbacSupport.BasicAttributes
    extends Object
    implements AbacSupport
    Implements AbacSupport interface and supports adding attributes. This class is mutable and thread safe.
    • Method Detail

      • create

        public static AbacSupport.BasicAttributes create​(AbacSupport toCopy)
        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

        public void put​(String classifier,
                        Object value)
        Put a new attribute to this instance.
        Parameters:
        classifier - classifier (name) of the attribute
        value - attribute value
      • abacAttributeRaw

        public Object abacAttributeRaw​(String key)
        Description copied from interface: AbacSupport
        Return the actual property value or null if not present. This is the only method that needs to be implemented.
        Specified by:
        abacAttributeRaw in interface AbacSupport
        Parameters:
        key - key (name) of the property
        Returns:
        value of the property or null