Class AbstractSAML11SPRedirectFormAuthenticator

  • All Implemented Interfaces:
    MBeanRegistration, javax.security.auth.message.config.RegistrationListener, org.apache.catalina.Authenticator, org.apache.catalina.Contained, org.apache.catalina.JmxEnabled, org.apache.catalina.Lifecycle, org.apache.catalina.Valve

    public abstract class AbstractSAML11SPRedirectFormAuthenticator
    extends AbstractSPFormAuthenticator
    Authenticator for SAML 1.1 processing at the Service Provider forked from org.picketlink.identity.federation.bindings.tomcat.sp.AbstractSAML11SPRedirectFormAuthenticator and made compatible with Tomcat 8.5 since picketlink doesn't provide such a support
    • Constructor Detail

      • AbstractSAML11SPRedirectFormAuthenticator

        public AbstractSAML11SPRedirectFormAuthenticator()
    • Method Detail

      • authenticate

        public boolean authenticate​(org.apache.catalina.connector.Request request,
                                    javax.servlet.http.HttpServletResponse response)
                             throws IOException
        Description copied from class: AbstractSPFormAuthenticator
        Authenticate the request
        Specified by:
        authenticate in interface org.apache.catalina.Authenticator
        Overrides:
        authenticate in class AbstractSPFormAuthenticator
        Parameters:
        request - Apache Catalina Request
        response - Apache Catalina Response
        Returns:
        true if authenticated, else false
        Throws:
        IOException - any I/O exception
      • authenticate

        public boolean authenticate​(org.apache.catalina.connector.Request request,
                                    javax.servlet.http.HttpServletResponse response,
                                    org.apache.tomcat.util.descriptor.web.LoginConfig loginConfig)
                             throws IOException
        Throws:
        IOException
      • handleSAML11UnsolicitedResponse

        public static boolean handleSAML11UnsolicitedResponse​(org.apache.catalina.connector.Request request,
                                                              javax.servlet.http.HttpServletResponse response,
                                                              org.apache.tomcat.util.descriptor.web.LoginConfig loginConfig,
                                                              AbstractSPFormAuthenticator formAuthenticator)
                                                       throws IOException
        Throws:
        IOException
      • startPicketLink

        protected void startPicketLink()
                                throws org.apache.catalina.LifecycleException
        Overrides:
        startPicketLink in class AbstractSPFormAuthenticator
        Throws:
        org.apache.catalina.LifecycleException