Interface AttributeMetadataProvider
-
- All Superinterfaces:
pl.edu.icm.unity.types.DescribedObject
,pl.edu.icm.unity.types.NamedObject
public interface AttributeMetadataProvider extends pl.edu.icm.unity.types.DescribedObject
Implementation defines anAttributeType
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isSecuritySensitive()
boolean
isSingleton()
void
verify(java.lang.String metadata, pl.edu.icm.unity.types.basic.AttributeType at)
Should verify whether the attribute's metadata is correct for the given attribtue type.
-
-
-
Method Detail
-
verify
void verify(java.lang.String metadata, pl.edu.icm.unity.types.basic.AttributeType at) throws pl.edu.icm.unity.exceptions.IllegalAttributeTypeException
Should verify whether the attribute's metadata is correct for the given attribtue type.- Parameters:
metadata
-at
-- Throws:
pl.edu.icm.unity.exceptions.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
-
-