Class BackofficeAuthenticationSuccessHandler

  • All Implemented Interfaces:
    org.springframework.security.web.authentication.AuthenticationSuccessHandler
    Direct Known Subclasses:
    ResetConfigurationAuthenticationSuccessHandler

    public class BackofficeAuthenticationSuccessHandler
    extends org.springframework.security.web.authentication.SavedRequestAwareAuthenticationSuccessHandler
    • Field Detail

      • BO_LOGIN_BOOKMARK

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

      • BackofficeAuthenticationSuccessHandler

        public BackofficeAuthenticationSuccessHandler()
    • Method Detail

      • onAuthenticationSuccess

        public void onAuthenticationSuccess​(javax.servlet.http.HttpServletRequest request,
                                            javax.servlet.http.HttpServletResponse response,
                                            org.springframework.security.core.Authentication authentication)
                                     throws javax.servlet.ServletException,
                                            java.io.IOException
        Specified by:
        onAuthenticationSuccess in interface org.springframework.security.web.authentication.AuthenticationSuccessHandler
        Overrides:
        onAuthenticationSuccess in class org.springframework.security.web.authentication.SavedRequestAwareAuthenticationSuccessHandler
        Throws:
        javax.servlet.ServletException
        java.io.IOException
      • clearLoginHandlerCredentials

        protected void clearLoginHandlerCredentials​(javax.servlet.ServletContext servletContext)
      • determineTargetUrl

        protected java.lang.String determineTargetUrl​(javax.servlet.http.HttpServletRequest request,
                                                      javax.servlet.http.HttpServletResponse response)
        Overrides:
        determineTargetUrl in class org.springframework.security.web.authentication.AbstractAuthenticationTargetUrlRequestHandler
      • getSessionLoginInfoModel

        public TypedSettingsMap getSessionLoginInfoModel​(javax.servlet.ServletContext servletContext)
      • getLoginInfoSessionBeanName

        public java.lang.String getLoginInfoSessionBeanName()
      • setLoginInfoSessionBeanName

        public void setLoginInfoSessionBeanName​(java.lang.String loginInfoSessionBeanName)
      • setCockpitUserService

        public void setCockpitUserService​(CockpitUserService cockpitUserService)
      • setCockpitLocaleService

        public void setCockpitLocaleService​(CockpitLocaleService cockpitLocaleService)