public interface Authenticator
Modifier and Type | Method and Description |
---|---|
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. |
void |
login(String userName,
String password,
Request request) |
void |
logout(Request request) |
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 populatingIOException
- if an input/output error occursvoid login(String userName, String password, Request request) throws ServletException
ServletException
void logout(Request request)
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.