Class Saml2WebSsoAuthenticationFilter

  • All Implemented Interfaces:
    javax.servlet.Filter, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationEventPublisherAware, org.springframework.context.EnvironmentAware, org.springframework.context.MessageSourceAware, org.springframework.core.env.EnvironmentCapable, org.springframework.web.context.ServletContextAware

    public class Saml2WebSsoAuthenticationFilter
    extends AbstractAuthenticationProcessingFilter
    Since:
    5.2
    • Field Detail

      • DEFAULT_FILTER_PROCESSES_URI

        public static final java.lang.String DEFAULT_FILTER_PROCESSES_URI
        See Also:
        Constant Field Values
    • Constructor Detail

      • Saml2WebSsoAuthenticationFilter

        public Saml2WebSsoAuthenticationFilter​(RelyingPartyRegistrationRepository relyingPartyRegistrationRepository)
        Creates a Saml2WebSsoAuthenticationFilter authentication filter that is configured to use the DEFAULT_FILTER_PROCESSES_URI processing URL
        Parameters:
        relyingPartyRegistrationRepository - - repository of configured SAML 2 entities. Required.
      • Saml2WebSsoAuthenticationFilter

        public Saml2WebSsoAuthenticationFilter​(RelyingPartyRegistrationRepository relyingPartyRegistrationRepository,
                                               java.lang.String filterProcessesUrl)
        Creates a Saml2WebSsoAuthenticationFilter authentication filter
        Parameters:
        relyingPartyRegistrationRepository - - repository of configured SAML 2 entities. Required.
        filterProcessesUrl - the processing URL, must contain a {registrationId} variable. Required.
      • Saml2WebSsoAuthenticationFilter

        public Saml2WebSsoAuthenticationFilter​(AuthenticationConverter authenticationConverter,
                                               java.lang.String filterProcessesUrl)
        Creates a Saml2WebSsoAuthenticationFilter given the provided parameters
        Parameters:
        authenticationConverter - the strategy for converting an HttpServletRequest into an Authentication
        filterProcessesUrl - the processing URL
        Since:
        5.4