Class OasisExtensionRequestedAttributeProcessor
java.lang.Object
se.swedenconnect.spring.saml.idp.attributes.OasisExtensionRequestedAttributeProcessor
- All Implemented Interfaces:
RequestedAttributeProcessor
public class OasisExtensionRequestedAttributeProcessor
extends Object
implements RequestedAttributeProcessor
A
RequestedAttributeProcessor that finds requested attributes from the RequestedAttributes extension.
See
SAML
V2.0 Protocol Extension for Requesting Attributes per Request Version 1.0.- Author:
- Martin Lindström
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionextractRequestedAttributes(Saml2AuthnRequestAuthenticationToken authnRequestToken) Given theSaml2AuthnRequestAuthenticationTokenthe method will locateRequestedAttributes.
-
Constructor Details
-
OasisExtensionRequestedAttributeProcessor
public OasisExtensionRequestedAttributeProcessor()
-
-
Method Details
-
extractRequestedAttributes
public Collection<RequestedAttribute> extractRequestedAttributes(Saml2AuthnRequestAuthenticationToken authnRequestToken) Given theSaml2AuthnRequestAuthenticationTokenthe method will locateRequestedAttributes.- Specified by:
extractRequestedAttributesin interfaceRequestedAttributeProcessor- Parameters:
authnRequestToken- the authentication request token- Returns:
- a (possibly empty) collection of
RequestedAttributes
-