Browse Source

Corrected Reference to HttpServletRequest#authenticate

pull/15703/head
Xi Minghui 1 year ago committed by Josh Cummings
parent
commit
e39b39dada
  1. 4
      docs/modules/ROOT/pages/servlet/integrations/servlet-api.adoc

4
docs/modules/ROOT/pages/servlet/integrations/servlet-api.adoc

@ -90,8 +90,8 @@ The following section describes the Servlet 3 methods with which Spring Security
[[servletapi-authenticate]] [[servletapi-authenticate]]
=== HttpServletRequest.authenticate(HttpServletRequest,HttpServletResponse) === HttpServletRequest.authenticate(HttpServletResponse)
You can use the https://docs.oracle.com/javaee/6/api/javax/servlet/http/HttpServletRequest.html#authenticate%28javax.servlet.http.HttpServletResponse%29[`HttpServletRequest.authenticate(HttpServletRequest,HttpServletResponse)`] method to ensure that a user is authenticated. You can use the https://docs.oracle.com/javaee/6/api/javax/servlet/http/HttpServletRequest.html#authenticate%28javax.servlet.http.HttpServletResponse%29[`HttpServletRequest.authenticate(HttpServletResponse)`] method to ensure that a user is authenticated.
If they are not authenticated, the configured `AuthenticationEntryPoint` is used to request the user to authenticate (redirect to the login page). If they are not authenticated, the configured `AuthenticationEntryPoint` is used to request the user to authenticate (redirect to the login page).

Loading…
Cancel
Save