Class HxRefreshHeaderAuthenticationEntryPoint
- java.lang.Object
-
- io.github.wimdeblauwe.hsbt.security.HxRefreshHeaderAuthenticationEntryPoint
-
- All Implemented Interfaces:
org.springframework.security.web.AuthenticationEntryPoint
public class HxRefreshHeaderAuthenticationEntryPoint extends java.lang.Object implements org.springframework.security.web.AuthenticationEntryPointThis 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:
- htmx-authentication-error-handling
-
-
Constructor Summary
Constructors Constructor Description HxRefreshHeaderAuthenticationEntryPoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcommence(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException authException)
-
-
-
Method Detail
-
commence
public void commence(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException authException) throws java.io.IOException, javax.servlet.ServletException- Specified by:
commencein interfaceorg.springframework.security.web.AuthenticationEntryPoint- Throws:
java.io.IOExceptionjavax.servlet.ServletException
-
-