Class OpenNMSAuthFailureHandler

  • All Implemented Interfaces:
    org.springframework.security.web.authentication.AuthenticationFailureHandler

    public class OpenNMSAuthFailureHandler
    extends Object
    implements org.springframework.security.web.authentication.AuthenticationFailureHandler
    • Constructor Detail

      • OpenNMSAuthFailureHandler

        public OpenNMSAuthFailureHandler()
    • Method Detail

      • onAuthenticationFailure

        public void onAuthenticationFailure​(javax.servlet.http.HttpServletRequest request,
                                            javax.servlet.http.HttpServletResponse response,
                                            org.springframework.security.core.AuthenticationException exception)
                                     throws IOException,
                                            javax.servlet.ServletException
        Specified by:
        onAuthenticationFailure in interface org.springframework.security.web.authentication.AuthenticationFailureHandler
        Throws:
        IOException
        javax.servlet.ServletException
      • saveException

        protected final void saveException​(javax.servlet.http.HttpServletRequest request,
                                           org.springframework.security.core.AuthenticationException exception)
      • setDefaultFailureUrl

        public void setDefaultFailureUrl​(String defaultFailureUrl)
      • isUseForward

        protected boolean isUseForward()
      • setUseForward

        public void setUseForward​(boolean forwardToDestination)
      • setRedirectStrategy

        public void setRedirectStrategy​(org.springframework.security.web.RedirectStrategy redirectStrategy)
      • getRedirectStrategy

        protected org.springframework.security.web.RedirectStrategy getRedirectStrategy()
      • isAllowSessionCreation

        protected boolean isAllowSessionCreation()
      • setAllowSessionCreation

        public void setAllowSessionCreation​(boolean allowSessionCreation)