Enum Class CoreAttributeName

java.lang.Object
java.lang.Enum<CoreAttributeName>
swiss.trustbroker.common.saml.util.CoreAttributeName
All Implemented Interfaces:
Serializable, Comparable<CoreAttributeName>, Constable, swiss.trustbroker.api.sessioncache.dto.AttributeName, MutableAttributeName

public enum CoreAttributeName extends Enum<CoreAttributeName> implements MutableAttributeName
Standard attribute names and additional ones used by XTB.
NOTE: This enum is mutable - fields other than name and functional can be updated based on configuration during initialization.
See Also:
  • Enum Constant Details

  • Method Details

    • values

      public static CoreAttributeName[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CoreAttributeName valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • setNamespaceUri

      public void setNamespaceUri(String namespaceUri)
      Specified by:
      setNamespaceUri in interface MutableAttributeName
    • setAltName

      public void setAltName(String altName)
      Specified by:
      setAltName in interface MutableAttributeName
    • setOidcNameList

      public void setOidcNameList(List<String> oidcNameList)
      Specified by:
      setOidcNameList in interface MutableAttributeName
    • getName

      public String getName()
      Specified by:
      getName in interface swiss.trustbroker.api.sessioncache.dto.AttributeName
    • isFunctional

      public boolean isFunctional()
    • getNamespaceUri

      public String getNamespaceUri()
      Specified by:
      getNamespaceUri in interface swiss.trustbroker.api.sessioncache.dto.AttributeName
    • getAltName

      public String getAltName()
      Specified by:
      getAltName in interface swiss.trustbroker.api.sessioncache.dto.AttributeName
    • getOidcNameList

      public List<String> getOidcNameList()
      Specified by:
      getOidcNameList in interface swiss.trustbroker.api.sessioncache.dto.AttributeName
    • toString

      public String toString()
      Overrides:
      toString in class Enum<CoreAttributeName>