Class ReleaseAllAttributeProducer
java.lang.Object
se.swedenconnect.spring.saml.idp.attributes.release.ReleaseAllAttributeProducer
- All Implemented Interfaces:
AttributeProducer
An
AttributeProducer
that releases all attributes found in the supplied
Saml2UserAuthentication
token.- Author:
- Martin Lindström
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionList
<org.opensaml.saml.saml2.core.Attribute> releaseAttributes
(Saml2UserAuthentication userAuthentication) Releases all attributes from theSaml2UserAuthentication
token.
-
Constructor Details
-
ReleaseAllAttributeProducer
public ReleaseAllAttributeProducer()
-
-
Method Details
-
releaseAttributes
public List<org.opensaml.saml.saml2.core.Attribute> releaseAttributes(Saml2UserAuthentication userAuthentication) Releases all attributes from theSaml2UserAuthentication
token.- Specified by:
releaseAttributes
in interfaceAttributeProducer
- Parameters:
userAuthentication
- the user authentication token- Returns:
- a (possibly empty) list of attributes
-