Class HxRefreshHeaderAuthenticationEntryPoint

  • All Implemented Interfaces:
    org.springframework.security.web.AuthenticationEntryPoint

    public class HxRefreshHeaderAuthenticationEntryPoint
    extends java.lang.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:
    htmx-authentication-error-handling
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void commence​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException authException)  
      • Methods inherited from class java.lang.Object

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

      • HxRefreshHeaderAuthenticationEntryPoint

        public HxRefreshHeaderAuthenticationEntryPoint()
    • 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:
        commence in interface org.springframework.security.web.AuthenticationEntryPoint
        Throws:
        java.io.IOException
        javax.servlet.ServletException