public class SecurityAccessor extends DynamoServlet
Modifier and Type | Field and Description |
---|---|
static ParameterName |
ALLOW_GROUPS |
static ParameterName |
ALLOWED |
static java.lang.String |
CLASS_VERSION |
static ParameterName |
DENIED |
static ParameterName |
DENY_GROUPS |
mAllowCleanupRequest, mParameters
SERVLET_INFO_KEY
SERVICE_INFO_KEY
DEFAULT_LOG_TRACE_STATUS
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS
Constructor and Description |
---|
SecurityAccessor() |
Modifier and Type | Method and Description |
---|---|
UserAuthority |
getUserAuthority()
Returns User Authority that consult the validity of the user
|
UserLoginManager |
getUserManager()
Returns User Manager to get the top level Persona from
|
protected java.lang.String[] |
parameterToStringArray(DynamoHttpServletRequest pRequest,
ParameterName pName)
Given a paramter name, it converts the parameter's value into a string array separated
by SEPARATOR
|
void |
service(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Render the Security Accessor
|
void |
setUserAuthority(UserAuthority pUserAuthority)
Sets User Authority that consults the validity of the user
|
void |
setUserManager(UserLoginManager pUserManager)
Sets User Manager to get the top level Persona from
|
doDelete, doGet, doPost, doPut, getParameter, getParameters, getServletContext, init, service, service, setParameter
destroy, getServletConfig, getServletInfo, setServletInfo
getAverageRequestHandlingTime, getHandledRequestCount, getRequestStartTime, getTotalRequestHandlingTime, isKeepingStatistics, notifyHandledRequest, resetStatistics, setKeepingStatistics
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
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning
public static java.lang.String CLASS_VERSION
public static final ParameterName ALLOW_GROUPS
public static final ParameterName DENY_GROUPS
public static final ParameterName ALLOWED
public static final ParameterName DENIED
public void setUserAuthority(UserAuthority pUserAuthority)
public UserAuthority getUserAuthority()
public void setUserManager(UserLoginManager pUserManager)
public UserLoginManager getUserManager()
public void service(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
service
in class DynamoServlet
pRequest
- the request to be processedpResponse
- the response object for this requestjavax.servlet.ServletException
- an application specific error occurred
processing this requestjava.io.IOException
- an error occurred reading data from the request
or writing data to the response.protected java.lang.String[] parameterToStringArray(DynamoHttpServletRequest pRequest, ParameterName pName)
pRequest
- is the current request associated with the given sessionpName
- is the name of the parameter whose value will be returned as a string array