Package se.swedenconnect.spring.saml.idp.authentication.provider.external
package se.swedenconnect.spring.saml.idp.authentication.provider.external
Support for "external user authentication", i.e., when we redirect the user outside of the Spring Security flow to
get authenticated.
-
ClassDescriptionA helper class that
Controllers that implement "external user authentication" may inherit from.Abstract base class implementing theUserRedirectAuthenticationProviderinterface.A repository used by subclasses ofAbstractUserRedirectAuthenticationProviderthat needs to pick up the tranferredRedirectForAuthenticationTokento serve as input for the user authentication.Strategy for persisting aRedirectForAuthenticationTokenandResumedAuthenticationTokenbetween requests.ARedirectForAuthenticationTokenis used in the cases where a SAMLAuthenticationProviderwants to inform the filterSaml2UserAuthenticationProcessingFilterthat the user agent should be re-directed to a given path to perform the user authentication.A special purposeAuthenticationtoken that is used when the user returns to the authentication flow after "external" authentication.An implementation of theFilterAuthenticationTokenRepositoryandExternalAuthenticatorTokenRepositoryinterfaces that is session based.If the user authentication is performed outside the SAML IdP Spring Security flow anUserRedirectAuthenticationProvidershould be provided.