Class HxRefreshHeaderAuthenticationEntryPoint

java.lang.Object
io.github.wimdeblauwe.htmx.spring.boot.security.HxRefreshHeaderAuthenticationEntryPoint
All Implemented Interfaces:
org.springframework.security.web.AuthenticationEntryPoint

public class HxRefreshHeaderAuthenticationEntryPoint extends Object implements org.springframework.security.web.AuthenticationEntryPoint
This class is not used by the library itself, but users of the library can use it to configure their security to have full page refreshes on auth failures.
See Also:
  • Constructor Details

    • HxRefreshHeaderAuthenticationEntryPoint

      public HxRefreshHeaderAuthenticationEntryPoint()
  • Method Details

    • commence

      public void commence(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException authException) throws IOException, jakarta.servlet.ServletException
      Specified by:
      commence in interface org.springframework.security.web.AuthenticationEntryPoint
      Throws:
      IOException
      jakarta.servlet.ServletException