Interface AttributeMetadataProvider
- All Superinterfaces:
DescribedObject
,NamedObject
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 TypeMethodDescriptionboolean
boolean
void
verify
(String metadata, AttributeType at) Should verify whether the attribute's metadata is correct for the given attribtue type.Methods inherited from interface pl.edu.icm.unity.types.DescribedObject
getDescription
Methods inherited from interface pl.edu.icm.unity.types.NamedObject
getName
-
Method Details
-
verify
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
-