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 Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String BO_LOGIN_BOOKMARK  
      • Fields inherited from class org.springframework.security.web.authentication.SavedRequestAwareAuthenticationSuccessHandler

        logger
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void clearLoginHandlerCredentials​(javax.servlet.ServletContext servletContext)  
      protected java.lang.String determineTargetUrl​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)  
      CockpitLocaleService getCockpitLocaleService()  
      CockpitUserService getCockpitUserService()  
      protected BackofficeAuthenticationDetails getDetails​(org.springframework.security.core.Authentication authentication)  
      java.lang.String getLoginInfoSessionBeanName()  
      TypedSettingsMap getSessionLoginInfoModel​(javax.servlet.ServletContext servletContext)  
      void onAuthenticationSuccess​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication)  
      void setCockpitLocaleService​(CockpitLocaleService cockpitLocaleService)  
      void setCockpitUserService​(CockpitUserService cockpitUserService)  
      void setLoginInfoSessionBeanName​(java.lang.String loginInfoSessionBeanName)  
      • Methods inherited from class org.springframework.security.web.authentication.SavedRequestAwareAuthenticationSuccessHandler

        setRequestCache
      • Methods inherited from class org.springframework.security.web.authentication.SimpleUrlAuthenticationSuccessHandler

        clearAuthenticationAttributes
      • Methods inherited from class org.springframework.security.web.authentication.AbstractAuthenticationTargetUrlRequestHandler

        determineTargetUrl, getDefaultTargetUrl, getRedirectStrategy, getTargetUrlParameter, handle, isAlwaysUseDefaultTargetUrl, setAlwaysUseDefaultTargetUrl, setDefaultTargetUrl, setRedirectStrategy, setTargetUrlParameter, setUseReferer
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.springframework.security.web.authentication.AuthenticationSuccessHandler

        onAuthenticationSuccess
    • 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)