|
Apache Tomcat 7.0.28 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Authenticator
An Authenticator is a component (usually a Valve or Container) that provides some sort of authentication service.
| Method Summary | |
|---|---|
boolean |
authenticate(Request request,
HttpServletResponse response)
Authenticate the user making this request, based on the login configuration of the Context with which this Authenticator is
associated. |
boolean |
authenticate(Request request,
HttpServletResponse response,
LoginConfig config)
Deprecated. Use authenticate(Request, HttpServletResponse).
This will be removed / have reduced visibility in Tomcat
8.0.x |
void |
login(String userName,
String password,
Request request)
|
void |
logout(Request request)
|
| Method Detail |
|---|
boolean authenticate(Request request,
HttpServletResponse response)
throws IOException
Context with which this Authenticator is
associated. Return true if any specified constraint has
been satisfied, or false if we have created a response
challenge already.
request - Request we are processingresponse - Response we are populating
IOException - if an input/output error occurs
@Deprecated
boolean authenticate(Request request,
HttpServletResponse response,
LoginConfig config)
throws IOException
authenticate(Request, HttpServletResponse).
This will be removed / have reduced visibility in Tomcat
8.0.x
true if any specified
constraint has been satisfied, or false if we have
created a response challenge already.
request - Request we are processingresponse - Response we are populatingconfig - Login configuration describing how authentication
should be performed
IOException - if an input/output error occurs
void login(String userName,
String password,
Request request)
throws ServletException
ServletException
void logout(Request request)
throws ServletException
ServletException
|
Apache Tomcat 7.0.28 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||