Class WMCsrfTokenRepositorySuccessHandler

java.lang.Object
com.wavemaker.runtime.security.csrf.handler.WMCsrfTokenRepositorySuccessHandler
All Implemented Interfaces:
org.springframework.security.web.authentication.AuthenticationSuccessHandler

public class WMCsrfTokenRepositorySuccessHandler extends Object implements org.springframework.security.web.authentication.AuthenticationSuccessHandler
Created by srujant on 31/10/18.
  • Constructor Summary

    Constructors
    Constructor
    Description
    WMCsrfTokenRepositorySuccessHandler(org.springframework.security.web.csrf.CsrfTokenRepository csrfTokenRepository)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onAuthenticationSuccess(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication)
     
    void
    setCsrfTokenRepository(org.springframework.security.web.csrf.CsrfTokenRepository csrfTokenRepository)
     

    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
  • Constructor Details

    • WMCsrfTokenRepositorySuccessHandler

      public WMCsrfTokenRepositorySuccessHandler(org.springframework.security.web.csrf.CsrfTokenRepository csrfTokenRepository)
  • Method Details

    • onAuthenticationSuccess

      public void onAuthenticationSuccess(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication) throws jakarta.servlet.ServletException, IOException
      Specified by:
      onAuthenticationSuccess in interface org.springframework.security.web.authentication.AuthenticationSuccessHandler
      Throws:
      jakarta.servlet.ServletException
      IOException
    • setCsrfTokenRepository

      public void setCsrfTokenRepository(org.springframework.security.web.csrf.CsrfTokenRepository csrfTokenRepository)