Class HttpStatusServerEntryPoint

java.lang.Object
org.springframework.security.web.server.authentication.HttpStatusServerEntryPoint
All Implemented Interfaces:
ServerAuthenticationEntryPoint

public class HttpStatusServerEntryPoint extends Object implements ServerAuthenticationEntryPoint
A ServerAuthenticationEntryPoint that sends a generic HttpStatus as a response. Useful for JavaScript clients which cannot use Basic authentication since the browser intercepts the response.
Since:
5.1
  • Constructor Details

    • HttpStatusServerEntryPoint

      public HttpStatusServerEntryPoint(org.springframework.http.HttpStatus httpStatus)
  • Method Details