Class CSRFTest

java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
de.bytestore.hostinger.api.CSRFTest
All Implemented Interfaces:
jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable

@Configuration @WebServlet(value="/internal/csrf", loadOnStartup=1) public class CSRFTest extends jakarta.servlet.http.HttpServlet
See Also:
  • Field Summary

    Fields inherited from class jakarta.servlet.http.HttpServlet

    LEGACY_DO_HEAD
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.boot.web.servlet.ServletRegistrationBean
     
    org.springframework.security.web.SecurityFilterChain
    securityFilterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
     

    Methods inherited from class jakarta.servlet.http.HttpServlet

    init, service

    Methods inherited from class jakarta.servlet.GenericServlet

    destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CSRFTest

      public CSRFTest()
  • Method Details

    • csrfServletBean

      @Bean public org.springframework.boot.web.servlet.ServletRegistrationBean csrfServletBean()
    • securityFilterChain

      @Bean(name="csrfSecurityFilterChain") @Order(390) public org.springframework.security.web.SecurityFilterChain securityFilterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception
      Throws:
      Exception