Class DefaultAttributeProducer
java.lang.Object
se.swedenconnect.spring.saml.idp.attributes.release.DefaultAttributeProducer
- All Implemented Interfaces:
AttributeProducer
- Direct Known Subclasses:
SwedenConnectAttributeProducer
The default
AttributeProducer
that returns all attributes that are among the "requested list" (see
Saml2UserAuthentication.getAuthnRequirements()
).- Author:
- Martin Lindström
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionList
<org.opensaml.saml.saml2.core.Attribute> releaseAttributes
(Saml2UserAuthentication userAuthentication) Releases all attributes that are explicitly, or implicitly, requested.
-
Constructor Details
-
DefaultAttributeProducer
public DefaultAttributeProducer()
-
-
Method Details
-
releaseAttributes
public List<org.opensaml.saml.saml2.core.Attribute> releaseAttributes(Saml2UserAuthentication userAuthentication) Releases all attributes that are explicitly, or implicitly, requested.- Specified by:
releaseAttributes
in interfaceAttributeProducer
- Parameters:
userAuthentication
- the user authentication token- Returns:
- a (possibly empty) list of attributes
-