Interface AttributeMetadataProvider
-
- All Superinterfaces:
DescribedObject
,NamedObject
public interface AttributeMetadataProvider extends 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(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 Detail
-
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
-
-