Class DefaultPrincipalSelectionProcessor
java.lang.Object
se.swedenconnect.spring.saml.idp.attributes.DefaultPrincipalSelectionProcessor
- All Implemented Interfaces:
PrincipalSelectionProcessor
public class DefaultPrincipalSelectionProcessor
extends Object
implements PrincipalSelectionProcessor
Default implementation of the
PrincipalSelectionProcessor interface.- Author:
- Martin Lindström
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionextractPrincipalSelection(Saml2AuthnRequestAuthenticationToken authnRequestToken) Extracts thePrincipalSelectionextension values and returns these as a collection ofUserAttributeobjects.
-
Constructor Details
-
DefaultPrincipalSelectionProcessor
public DefaultPrincipalSelectionProcessor()
-
-
Method Details
-
extractPrincipalSelection
public Collection<UserAttribute> extractPrincipalSelection(Saml2AuthnRequestAuthenticationToken authnRequestToken) Extracts thePrincipalSelectionextension values and returns these as a collection ofUserAttributeobjects. See PrincipalSelection.- Specified by:
extractPrincipalSelectionin interfacePrincipalSelectionProcessor- Parameters:
authnRequestToken- the authentication request token- Returns:
- a (possibly empty) collection of
UserAttributeobjects
-