Class Saml2AuthnRequestAuthenticationProvider

java.lang.Object
se.swedenconnect.spring.saml.idp.authnrequest.Saml2AuthnRequestAuthenticationProvider
All Implemented Interfaces:
org.springframework.security.authentication.AuthenticationProvider

public class Saml2AuthnRequestAuthenticationProvider extends Object implements org.springframework.security.authentication.AuthenticationProvider
An AuthenticationProvider that processes a Saml2AuthnRequestAuthenticationToken and if the processing is succesful returns a Saml2UserAuthenticationInputToken.

The signature on the authentication request is verified, and the request is checked against the IdP configuration before proceeding with the actual user authentication.

Author:
Martin Lindström