public class FormLoginPipelineServlet extends PipelineableServletImpl
A FormLoginSession object is used to store information about a form login. The FormLoginPipelineServlet gets thge FormLoginSession from the UserLoginManager before handling a form login.
| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | CLASS_VERSION | 
SERVICE_INFO_KEYDEFAULT_LOG_TRACE_STATUSDEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS| Constructor and Description | 
|---|
| FormLoginPipelineServlet() | 
| Modifier and Type | Method and Description | 
|---|---|
| static boolean | checkSecurityRoles(Persona pPersona,
                  java.lang.String[] pRoles)Check if a persona has one of a number of roles - by calling the
 hasRole() method. | 
| java.lang.String | getDefaultDestination()Returns A Default Destination URI to redirect people to when they submit a form
 and there is no current login session. | 
| boolean | getEnableDefaultDestination()Enables the use of a the default destination URI for the case when there
 is no current login session. | 
| UserLoginManager | getUserLoginManager()Returns A UserLoginManager | 
| void | handleLoginError(FormLoginSession pFormLoginSession,
                DynamoHttpServletRequest pRequest,
                DynamoHttpServletResponse pResponse)Handle a form login error. | 
| void | service(DynamoHttpServletRequest pRequest,
       DynamoHttpServletResponse pResponse)Services a DynamoHttpServletRequest/Response pair | 
| void | setDefaultDestination(java.lang.String pDefaultDestination)Sets A Default Destination URI to redirect people to when they submit a form 
 and there is no current login session. | 
| void | setEnableDefaultDestination(boolean pEnableDefaultDestination)Enables the use of a the default destination URI for the case when there
 is no current login session. | 
| void | setUserLoginManager(UserLoginManager pUserLoginManager)Sets A UserLoginManager | 
createAdminServlet, destroy, getAdminServlet, getNextServlet, getServletConfig, getServletInfo, init, isUsePathInfo, passRequest, passRequest, service, service, setNextServlet, setServletInfo, setUsePathInfogetAverageRequestHandlingTime, getHandledRequestCount, getRequestStartTime, getTotalRequestHandlingTime, isKeepingStatistics, notifyHandledRequest, resetStatistics, setKeepingStatisticsaddLogListener, doStartService, 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, stopServicevlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarningpublic void setUserLoginManager(UserLoginManager pUserLoginManager)
public UserLoginManager getUserLoginManager()
public void setEnableDefaultDestination(boolean pEnableDefaultDestination)
public boolean getEnableDefaultDestination()
public void setDefaultDestination(java.lang.String pDefaultDestination)
public java.lang.String getDefaultDestination()
public void service(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws java.io.IOException, javax.servlet.ServletException
service in class PipelineableServletImpljavax.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 handleLoginError(FormLoginSession pFormLoginSession, DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
javax.servlet.ServletExceptionjava.io.IOExceptionpublic static boolean checkSecurityRoles(Persona pPersona, java.lang.String[] pRoles)