public class MultiAccessController extends GenericService implements AccessController
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
CLASS_VERSION
Class version string 
 | 
SERVICE_INFO_KEYDEFAULT_LOG_TRACE_STATUSDEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS| Constructor and Description | 
|---|
MultiAccessController()  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
allowAccess(Profile pProfile,
           DynamoHttpServletRequest pRequest)
Returns true if a user (represented by the specified Profile)
 should be allowed access, false if not. 
 | 
AccessController[] | 
getControllers()
Returns an array of controllers that is consulted to determine access. 
 | 
java.lang.String | 
getDeniedAccessURL()
Returns an URL the user should be redirected to if allowAccess
 returns false. 
 | 
java.lang.String | 
getDeniedAccessURL(Profile pProfile)
Returns an URL the user should be redirected to if allowAccess
 returns false. 
 | 
void | 
setControllers(AccessController[] pControllers)
An array of controllers that is consulted to determine access. 
 | 
void | 
setDeniedAccessURL(java.lang.String pDeniedAccessURL)
An URL the user should be redirected to if allowAccess returns false 
 | 
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService, toStringvlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarningpublic void setDeniedAccessURL(java.lang.String pDeniedAccessURL)
pDeniedAccessURL - the URL the user should be redirected to if allowAccess returns falsepublic java.lang.String getDeniedAccessURL()
public void setControllers(AccessController[] pControllers)
pControllers - An array of controllerspublic AccessController[] getControllers()
public java.lang.String getDeniedAccessURL(Profile pProfile)
getDeniedAccessURL in interface AccessControllerpublic boolean allowAccess(Profile pProfile, DynamoHttpServletRequest pRequest)
allowAccess in interface AccessController