Class StoutAttributeUtils


  • public final class StoutAttributeUtils
    extends Object
    Utility methods for fetching attributes.
    • Method Detail

      • translateAttributeToXacmlFormat

        public static oasis.names.tc.xacml._3_0.core.schema.wd_17.AttributeDesignatorType translateAttributeToXacmlFormat​(StoutAttribute attribute)
        Translates a Stout attribute into the more complex, but standards-compliance XACML version.
        Parameters:
        attribute - stout attribute
        Returns:
        XACML version of the attribute
      • getXacmlCategory

        public static String getXacmlCategory​(String category)
        Transforms the shortened version of categories used to simplify things stout into their fulL XACML format.
        Parameters:
        category - Stout category
        Returns:
        XACML category
      • getXacmlType

        public static String getXacmlType​(String type)
        Transforms the shortened version of types used to simplify things stout into their fulL XACML format.
        Parameters:
        type - Stout type
        Returns:
        XACML type