Interface AttributeMetadataProvider

All Superinterfaces:
pl.edu.icm.unity.base.describedObject.DescribedObject, pl.edu.icm.unity.base.describedObject.NamedObject

public interface AttributeMetadataProvider extends pl.edu.icm.unity.base.describedObject.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 Summary

    Modifier and Type
    Method
    Description
    boolean
     
    boolean
     
    void
    verify(String metadata, pl.edu.icm.unity.base.attribute.AttributeType at)
    Should verify whether the attribute's metadata is correct for the given attribtue type.

    Methods inherited from interface pl.edu.icm.unity.base.describedObject.DescribedObject

    getDescription

    Methods inherited from interface pl.edu.icm.unity.base.describedObject.NamedObject

    getName
  • Method Details

    • verify

      void verify(String metadata, pl.edu.icm.unity.base.attribute.AttributeType at) throws pl.edu.icm.unity.base.attribute.IllegalAttributeTypeException
      Should verify whether the attribute's metadata is correct for the given attribtue type.
      Parameters:
      metadata -
      at -
      Throws:
      pl.edu.icm.unity.base.attribute.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