Class EidasAttributeValueConverter
java.lang.Object
se.swedenconnect.spring.saml.idp.attributes.eidas.EidasAttributeValueConverter
Helper class for convering eIDAS attribute values to and from
UserAttributes.- Author:
- Martin Lindström
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<? extends Serializable> Extracts the attribute values from an eIDAS attribute.static booleanisEidasAttribute(Class<?> valueType) Predicate that tells if the supplied type is an eIDAS attribute type
-
Method Details
-
isEidasAttribute
Predicate that tells if the supplied type is an eIDAS attribute type- Parameters:
valueType- the value type- Returns:
trueif the supplied type is an eIDAS attribute type andfalseotherwise
-
getValues
Extracts the attribute values from an eIDAS attribute.- Parameters:
attribute- the attributevalueType- the value type for the attribute value(s)- Returns:
- a list of values
-