瀏覽代碼

Corrected Reference to HttpServletRequest#authenticate

Xi Minghui 1 年之前
父節點
當前提交
e39b39dada
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      docs/modules/ROOT/pages/servlet/integrations/servlet-api.adoc

+ 2 - 2
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]]
-=== HttpServletRequest.authenticate(HttpServletRequest,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.
+=== 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(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).