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
-
Method Summary
Modifier and TypeMethodDescriptionextractPrincipalSelection
(Saml2AuthnRequestAuthenticationToken authnRequestToken) Extracts thePrincipalSelection
extension values and returns these as a collection ofUserAttribute
objects.
-
Constructor Details
-
DefaultPrincipalSelectionProcessor
public DefaultPrincipalSelectionProcessor()
-
-
Method Details
-
extractPrincipalSelection
public Collection<UserAttribute> extractPrincipalSelection(Saml2AuthnRequestAuthenticationToken authnRequestToken) Extracts thePrincipalSelection
extension values and returns these as a collection ofUserAttribute
objects. See PrincipalSelection.- Specified by:
extractPrincipalSelection
in interfacePrincipalSelectionProcessor
- Parameters:
authnRequestToken
- the authentication request token- Returns:
- a (possibly empty) collection of
UserAttribute
objects
-