Class CsrfAuthenticationStrategy

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onAuthentication​(org.springframework.security.core.Authentication authentication, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      Performs Http session-related functionality when a new authentication occurs.
      • Methods inherited from class java.lang.Object

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

      • CsrfAuthenticationStrategy

        public CsrfAuthenticationStrategy​(CsrfTokenRepository csrfTokenRepository)
        Creates a new instance
        Parameters:
        csrfTokenRepository - the CsrfTokenRepository to use