public class SecurityDomainServlet extends InsertableServletImpl
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class Version String
|
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 |
---|
SecurityDomainServlet() |
Modifier and Type | Method and Description |
---|---|
void |
doStartService()
Splices this servlet or servlet chain into a servlet pipeline,
immediately after the insertAfterServlet.
|
java.lang.String |
getRedirectURL()
Returns URL to which the user will be redirected if the user isn't authenticated yet
|
SecurityDomain[] |
getSecurityDomains()
Returns List of security domains with which this servlet must authenticated
|
java.lang.String |
getSessionExpiredRedirectURL()
Returns URL to which the user will be redirected if the session has expired
|
UserLoginManager |
getUserManager()
Returns authentication manager
|
boolean |
isEnabled()
Returns Is this servlet enabled inside of the pipline?
|
void |
service(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Services a DynamoHttpServletRequest/Response pair.
|
void |
setEnabled(boolean pEnabled)
Sets Is this servlet enabled inside of the pipline?
|
void |
setRedirectURL(java.lang.String pRedirectURL)
Sets URL to which the user will be redirected if the user isn't authenticated yet
|
void |
setSecurityDomains(SecurityDomain[] pSecurityDomains)
Sets List of security domains with which this servlet must authenticated
|
void |
setSessionExpiredRedirectURL(java.lang.String pRedirectURL)
Sets URL to which the user will be redirected if the session has expired
|
void |
setUserManager(UserLoginManager pUserManager)
Sets authentication manager
|
getInsertAfterServlet, setInsertAfterServlet
createAdminServlet, destroy, getAdminServlet, getNextServlet, getServletConfig, getServletInfo, init, isUsePathInfo, passRequest, passRequest, service, service, setNextServlet, setServletInfo, setUsePathInfo
getAverageRequestHandlingTime, getHandledRequestCount, getRequestStartTime, getTotalRequestHandlingTime, isKeepingStatistics, notifyHandledRequest, resetStatistics, setKeepingStatistics
addLogListener, doStopService, getAbsoluteName, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNextServlet, passRequest, setNextServlet
public void setEnabled(boolean pEnabled)
public boolean isEnabled()
public void setSecurityDomains(SecurityDomain[] pSecurityDomains)
public SecurityDomain[] getSecurityDomains()
public void setRedirectURL(java.lang.String pRedirectURL)
public java.lang.String getRedirectURL()
public void setSessionExpiredRedirectURL(java.lang.String pRedirectURL)
public java.lang.String getSessionExpiredRedirectURL()
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 PipelineableServletImpl
javax.servlet.ServletException
- if an error occurred while processing the servlet requestjava.io.IOException
- if an error occurred while reading or writing the servlet requestpublic void doStartService() throws ServiceException
InsertableServletImpl
doStartService
in class InsertableServletImpl
ServiceException
- if the service had a problem
starting up