Class UnauthorizedEntryPoint

java.lang.Object
es.samfc.learning.backend.security.handling.UnauthorizedEntryPoint
All Implemented Interfaces:
org.springframework.security.web.AuthenticationEntryPoint

@Component public class UnauthorizedEntryPoint extends Object implements org.springframework.security.web.AuthenticationEntryPoint
  • Constructor Details

    • UnauthorizedEntryPoint

      public UnauthorizedEntryPoint()
  • Method Details

    • commence

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