Package security

Class UnauthorizedEntryPoint

java.lang.Object
security.UnauthorizedEntryPoint
All Implemented Interfaces:
org.springframework.security.web.AuthenticationEntryPoint

public class UnauthorizedEntryPoint extends Object implements org.springframework.security.web.AuthenticationEntryPoint
AuthenticationEntryPoint that rejects all requests with an unauthorized error message.
  • Constructor Details

    • UnauthorizedEntryPoint

      public UnauthorizedEntryPoint()
  • Method Details

    • commence

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