public abstract class AbstractControlledContext extends GenericContext
GenericContext.ForwardResultServletModule.RequestListener| Modifier and Type | Field and Description |
|---|---|
protected UserAuthenticator |
authenticator |
authenticationErrorMessage, checkActions, contextPath, exceptionHandler, exceptionOnAuthentication, requestListeners, servlet, urlPrefixautoStart, isInitialized, isRunning, logging, loggingModule, moduleManager| Constructor and Description |
|---|
AbstractControlledContext() |
| Modifier and Type | Method and Description |
|---|---|
protected UserAuthenticator.AuthenticationResult |
authenticate(java.lang.String requiredRole,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
ModulesServlet.HttpMethod method) |
java.util.Collection<Module> |
getDependencies(ModuleManager manager)
Returns all the modules this module depends on.
|
void |
start(ModuleManager manager)
Starts the module.
|
void |
stop(ModuleManager manager)
Stops the module.
|
addRequestListener, doForwardRequest, getContextPath, getHandlingAction, getServletURL, handleRequest, init, isHandleAction, removeRequestListenerisInitialized, isRunning, requireLogging, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisInitialized, isRunningprotected UserAuthenticator authenticator
public java.util.Collection<Module> getDependencies(ModuleManager manager) throws ModuleException
ModulegetDependencies in interface ModulegetDependencies in class GenericContextmanager - The module manager handling this module.ModuleExceptionpublic void start(ModuleManager manager) throws ModuleException
Modulestart in interface Modulestart in class GenericContextmanager - The module manager handling this module.ModuleExceptionpublic void stop(ModuleManager manager)
Modulestop in interface Modulestop in class GenericContextmanager - The module manager handling this module.protected UserAuthenticator.AuthenticationResult authenticate(java.lang.String requiredRole, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, ModulesServlet.HttpMethod method) throws java.io.IOException, AuthenticationException
java.io.IOExceptionAuthenticationExceptionCopyright 2004-2015 Wandora Team