|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Authenticator is deprecated. Use com.caucho.http.security.ServletAuthenticator instead.
| Method Summary | |
java.security.Principal |
authenticate(HttpServletRequest request)
Deprecated. |
void |
init(CauchoApplication app,
RegistryNode params)
Deprecated. |
boolean |
isUserInRole(HttpServletRequest request,
java.security.Principal user,
java.lang.String role)
Deprecated. |
java.security.Principal |
login(HttpServletRequest request,
HttpServletResponse response,
ServletContext application,
java.lang.String user,
java.lang.String password,
java.lang.String allowCookie)
Deprecated. |
void |
logout(HttpServletRequest request)
Deprecated. |
| Method Detail |
public void init(CauchoApplication app,
RegistryNode params)
throws ServletException
app - the owning servlet context.
public java.security.Principal authenticate(HttpServletRequest request)
throws ServletException
request - the request trying to authenticate.
public java.security.Principal login(HttpServletRequest request,
HttpServletResponse response,
ServletContext application,
java.lang.String user,
java.lang.String password,
java.lang.String allowCookie)
throws ServletException
request - servlet requestresponse - servlet response, in case any cookie need sending.application - servlet applicationuser - the user name.password - the user's presented password.allowCookie - true if the user allows cookies for
subsequent requests.
public boolean isUserInRole(HttpServletRequest request,
java.security.Principal user,
java.lang.String role)
throws ServletException
request - the request testing the role.user - the user's Principal.role - role name.
public void logout(HttpServletRequest request)
throws ServletException
Generally only called from user code.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||