Interface AttributeMetadataProvider

All Superinterfaces:
DescribedObject, NamedObject

public interface AttributeMetadataProvider extends DescribedObject
Implementation defines an AttributeType metadata. The metadata can be used to give user-controlled semantics to ordinary attributes, e.g. to mark an attribute as contact email address or define how it should be mapped to SAML attribute.
Author:
K. Benedyczak
  • Method Details

    • verify

      void verify(String metadata, AttributeType at) throws IllegalAttributeTypeException
      Should verify whether the attribute's metadata is correct for the given attribtue type.
      Parameters:
      metadata -
      at -
      Throws:
      IllegalAttributeTypeException
    • isSingleton

      boolean isSingleton()
      Returns:
      true if this metadata can be set for a single attribute only.
    • isSecuritySensitive

      boolean isSecuritySensitive()
      Returns:
      true if the attribute annotated with this attribute is security sensitive