Class MetadataRequestedAttributeProcessor
java.lang.Object
se.swedenconnect.spring.saml.idp.attributes.MetadataRequestedAttributeProcessor
- All Implemented Interfaces:
RequestedAttributeProcessor
public class MetadataRequestedAttributeProcessor
extends Object
implements RequestedAttributeProcessor
A
RequestedAttributeProcessor that will check if the SAML SP metadata entry contains any requested attributes
by locating them in the AttributeConsumingService element.- Author:
- Martin Lindström
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionextractRequestedAttributes(Saml2AuthnRequestAuthenticationToken authnRequestToken) Given theSaml2AuthnRequestAuthenticationTokenthe method will locateRequestedAttributes.
-
Constructor Details
-
MetadataRequestedAttributeProcessor
public MetadataRequestedAttributeProcessor()
-
-
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
-