Interface AttributeName


public interface AttributeName
Addressing of an attribute via name and/or namespace URI.
  • Method Details

    • getName

      String getName()
      Returns:
      Audit and IDM relevant name, unique
    • getAltName

      String getAltName()
      Returns:
      Known external CP attributes we just document here - used when we cannot use namespaceUri due to semantics (can be null)
    • getNamespaceUri

      String getNamespaceUri()
      Returns:
      SAML attribute, value must be unique to prevent auditing to not display wrong short names
    • getOidcNameList

      List<String> getOidcNameList()
      Returns:
      OIDC standard claim, served when standard claim mapping is enabled and no configured attribute has it in oidcNames
    • getCid

      default Boolean getCid()
      Returns:
      true if this field is considered CID (client identifying data) - default is null (use global defaults)
      Since:
      1.8.0
    • getSource

      default String getSource()
      Returns:
      source of the attribute
      Since:
      1.8.0
    • getProvision

      default String getProvision()
      Returns:
      provisioning configuration of this attribute.
      Since:
      1.9.0
    • equalsByName

      default boolean equalsByName(String name)
      Parameters:
      name -
      Returns:
      true if name is not null and equals this by name
    • equalsByNamespace

      default boolean equalsByNamespace(String namespace)
      Parameters:
      namespace -
      Returns:
      true if namespace is not null and equals this by namespace
    • equalsByName

      default boolean equalsByName(AttributeName attributeName)
      Parameters:
      attributeName -
      Returns:
      true if attributeName is not null and equals this by name (ignoring the namespace)
      See Also:
    • equalsByNamespace

      default boolean equalsByNamespace(AttributeName attributeName)
      Parameters:
      attributeName -
      Returns:
      true if attributeName is not null and equals this by namespace (ignoring the name)
      Since:
      1.8.0
      See Also:
    • equalsByNameOrNamespace

      default boolean equalsByNameOrNamespace(String name)
      Parameters:
      name -
      Returns:
      true if name is not null and equals this by name or namespace
      See Also:
    • equalsByNameOrNamespace

      default boolean equalsByNameOrNamespace(String name, String source)
      Parameters:
      name -
      source -
      Returns:
      true if name is not null and equals this by name or namespace and source is null or matches,
      See Also:
    • equalsByNameOrNamespace

      default boolean equalsByNameOrNamespace(AttributeName attributeName)
      Parameters:
      attributeName -
      Returns:
      true if attributeName is not null and equals this by name or namespace (the matching names/namespaces must not be null)
      See Also:
    • equalsByNameOrNamespace

      default boolean equalsByNameOrNamespace(AttributeName attributeName, String source)
      Parameters:
      attributeName -
      source -
      Returns:
      true if attributeName is not null and equals this by name or namespace (the matching names/namespaces must not be null)
      See Also:
    • isEqualsBySource

      default boolean isEqualsBySource(String source)
      Parameters:
      source -
      Returns:
      true if the sources are equals or null
    • equalsByNameAndNamespace

      default boolean equalsByNameAndNamespace(AttributeName attributeName)
      Parameters:
      attributeName -
      Returns:
      true if attributeName is not null and equals this by name and namespace (the matching names/namespaces may be null)