From 9f51d68e92edbe4b271d78a711e26bf31ca5c1bb Mon Sep 17 00:00:00 2001 From: linzhaoming Date: Sat, 11 Mar 2017 23:39:29 +0800 Subject: [PATCH] Fix wrong doc of HttpServletRequest.authenticate() Should be HttpServletRequest.authenticate(HttpServletResponse response), should not include argument HttpServletRequest --- docs/manual/src/docs/asciidoc/index.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/manual/src/docs/asciidoc/index.adoc b/docs/manual/src/docs/asciidoc/index.adoc index 8750bb12fc..87fd66ae79 100644 --- a/docs/manual/src/docs/asciidoc/index.adoc +++ b/docs/manual/src/docs/asciidoc/index.adoc @@ -2914,8 +2914,8 @@ The following section describes the Servlet 3 methods that Spring Security integ [[servletapi-authenticate]] -==== HttpServletRequest.authenticate(HttpServletRequest,HttpServletResponse) -The http://docs.oracle.com/javaee/6/api/javax/servlet/http/HttpServletRequest.html#authenticate%28javax.servlet.http.HttpServletResponse%29[HttpServletRequest.authenticate(HttpServletRequest,HttpServletResponse)] method can be used to ensure that a user is authenticated. If they are not authenticated, the configured AuthenticationEntryPoint will be used to request the user to authenticate (i.e. redirect to the login page). +==== HttpServletRequest.authenticate(HttpServletResponse) +The http://docs.oracle.com/javaee/6/api/javax/servlet/http/HttpServletRequest.html#authenticate%28javax.servlet.http.HttpServletResponse%29[HttpServletRequest.authenticate(HttpServletResponse)] method can be used to ensure that a user is authenticated. If they are not authenticated, the configured AuthenticationEntryPoint will be used to request the user to authenticate (i.e. redirect to the login page). [[servletapi-login]]