Class KerberosAuthenticationFilter

    • Constructor Detail

      • KerberosAuthenticationFilter

        public KerberosAuthenticationFilter()
    • Method Detail

      • getLoginPageLink

        public java.lang.String getLoginPageLink()
        Overrides:
        getLoginPageLink in class BaseSSOAuthenticationFilter
        Returns:
        login page link, which is send back to the client if the login fails in the filter. Override to change the default behaviour.
      • onValidateFailed

        protected void onValidateFailed​(javax.servlet.ServletContext sc,
                                        javax.servlet.http.HttpServletRequest req,
                                        javax.servlet.http.HttpServletResponse res,
                                        javax.servlet.http.HttpSession session,
                                        WebCredentials credentials)
                                 throws java.io.IOException
        Description copied from class: BaseSSOAuthenticationFilter
        Callback executed on failed authentication of a user ticket during Type3 Message processing
        Overrides:
        onValidateFailed in class BaseSSOAuthenticationFilter
        Parameters:
        sc - the servlet context
        req - HttpServletRequest
        res - HttpServletResponse
        session - HttpSession
        Throws:
        java.io.IOException
      • writeLoginPageLink

        protected void writeLoginPageLink​(javax.servlet.ServletContext context,
                                          javax.servlet.http.HttpServletRequest req,
                                          javax.servlet.http.HttpServletResponse resp)
                                   throws java.io.IOException
        Writes link to login page and refresh tag which cause user to be redirected to the login page.
        Overrides:
        writeLoginPageLink in class BaseSSOAuthenticationFilter
        Parameters:
        context - ServletContext
        req - HttpServletRequest
        resp - HttpServletResponse
        Throws:
        java.io.IOException