public interface Authenticator
| Modifier and Type | Method and Description |
|---|---|
boolean |
authenticate(Request request,
HttpServletResponse response,
LoginConfig config)
Authenticate the user making this request, based on the specified
login configuration.
|
void |
login(java.lang.String userName,
java.lang.String password,
Request request) |
void |
logout(Request request) |
boolean authenticate(Request request, HttpServletResponse response, LoginConfig config) throws java.io.IOException
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 performedjava.io.IOException - if an input/output error occursvoid login(java.lang.String userName,
java.lang.String password,
Request request)
throws ServletException
ServletExceptionvoid logout(Request request) throws ServletException
ServletExceptionCopyright © 2000-2012 Apache Software Foundation. All Rights Reserved.