Class AttributeProperties

java.lang.Object
swiss.trustbroker.config.dto.AttributeProperties
All Implemented Interfaces:
swiss.trustbroker.api.sessioncache.dto.AttributeName

public class AttributeProperties extends Object implements swiss.trustbroker.api.sessioncache.dto.AttributeName
Configuration of individual attributes. /** Configuration of attributes.
See Also:
  • Constructor Details

    • AttributeProperties

      public AttributeProperties()
    • AttributeProperties

      public AttributeProperties(String name, String altName, String namespaceUri, List<String> oidcNameList, String mappers)
      Creates a new AttributeProperties instance.
      Parameters:
      name - Short name used in auditing and for IDM attribute addressing.
      altName - Known external attributes we just document here - used when we cannot use namespaceUri due to semantics.
      namespaceUri - The long name is used in the generated SAML assertion towards the RP.
      oidcNameList - The claim names used when emitting an attribute to an OIDC client.
      mappers - The claim mappers used for mapping the values.
  • Method Details

    • builder

    • getName

      public String getName()
      Short name used in auditing and for IDM attribute addressing.
      Specified by:
      getName in interface swiss.trustbroker.api.sessioncache.dto.AttributeName
    • getAltName

      public String getAltName()
      Known external attributes we just document here - used when we cannot use namespaceUri due to semantics.
      Specified by:
      getAltName in interface swiss.trustbroker.api.sessioncache.dto.AttributeName
    • getNamespaceUri

      public String getNamespaceUri()
      The long name is used in the generated SAML assertion towards the RP.
      Specified by:
      getNamespaceUri in interface swiss.trustbroker.api.sessioncache.dto.AttributeName
    • getOidcNameList

      public List<String> getOidcNameList()
      The claim names used when emitting an attribute to an OIDC client.
      Specified by:
      getOidcNameList in interface swiss.trustbroker.api.sessioncache.dto.AttributeName
    • getMappers

      public String getMappers()
      The claim mappers used for mapping the values.
    • setName

      public void setName(String name)
      Short name used in auditing and for IDM attribute addressing.
    • setAltName

      public void setAltName(String altName)
      Known external attributes we just document here - used when we cannot use namespaceUri due to semantics.
    • setNamespaceUri

      public void setNamespaceUri(String namespaceUri)
      The long name is used in the generated SAML assertion towards the RP.
    • setOidcNameList

      public void setOidcNameList(List<String> oidcNameList)
      The claim names used when emitting an attribute to an OIDC client.
    • setMappers

      public void setMappers(String mappers)
      The claim mappers used for mapping the values.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object