Class RegisterSessionAuthenticationStrategy

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onAuthentication​(Authentication authentication, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      In addition to the steps from the superclass, the sessionRegistry will be updated with the new session information.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RegisterSessionAuthenticationStrategy

        public RegisterSessionAuthenticationStrategy​(SessionRegistry sessionRegistry)
        Parameters:
        sessionRegistry - the session registry which should be updated when the authenticated session is changed.
    • Method Detail

      • onAuthentication

        public void onAuthentication​(Authentication authentication,
                                     javax.servlet.http.HttpServletRequest request,
                                     javax.servlet.http.HttpServletResponse response)
        In addition to the steps from the superclass, the sessionRegistry will be updated with the new session information.
        Specified by:
        onAuthentication in interface SessionAuthenticationStrategy