public class HTAccessHandler extends SecurityHandler
SecurityHandler.NotChecked__NO_USER, __NOBODY_string| Constructor and Description |
|---|
HTAccessHandler() |
| Modifier and Type | Method and Description |
|---|---|
Principal |
getPrincipal(String user,
UserRealm realm)
Get a Principal matching the user.
|
protected Handler |
getProtegee()
Getter for property protegee.
|
void |
handle(String target,
HttpServletRequest request,
HttpServletResponse response,
int dispatch)
Handle a request.
|
void |
setAccessFile(String anArg) |
void |
setDefault(String dir)
set functions for the following .xml administration statements.
|
void |
setProtegee(Handler protegee)
Setter for property protegee.
|
checkSecurityConstraints, doStart, getAuthenticator, getAuthMethod, getConstraintMappings, getUserRealm, hasConstraints, isCheckWelcomeFiles, setAuthenticator, setAuthMethod, setCheckWelcomeFiles, setConstraintMappings, setUserRealmaddHandler, doStop, expandChildren, getHandler, removeHandler, setHandler, setServerexpandHandler, getChildHandlerByClass, getChildHandlers, getChildHandlersByClassdestroy, getServer, toStringaddLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stoppublic void handle(String target, HttpServletRequest request, HttpServletResponse response, int dispatch) throws IOException, ServletException
handle in interface Handlerhandle in class SecurityHandlertarget - The target of the request - either a URI or a name.request - The request either as the Request
object or a wrapper of that request. The HttpConnection.getCurrentConnection()
method can be used access the Request object if required.response - The response as the Response
object or a wrapper of that request. The HttpConnection.getCurrentConnection()
method can be used access the Response object if required.dispatch - The dispatch mode: Handler.REQUEST, Handler.FORWARD, Handler.INCLUDE, Handler.ERRORIOExceptionServletExceptionHandler.handle(java.lang.String,
javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse, int)public Principal getPrincipal(String user, UserRealm realm)
user - realm - public void setDefault(String dir)
public void setAccessFile(String anArg)
protected Handler getProtegee()
public void setProtegee(Handler protegee)
protegee - The protegee to set.Copyright © 2009 Mortbay Consulting Pty. Ltd. All Rights Reserved.