app.jGroupware.webapp.auth
Class JGRequestProcessor

java.lang.Object
  extended byorg.apache.struts.action.RequestProcessor
      extended byorg.apache.struts.tiles.TilesRequestProcessor
          extended byapp.jGroupware.webapp.auth.JGRequestProcessor

public class JGRequestProcessor
extends org.apache.struts.tiles.TilesRequestProcessor

Over-rides the Struts request processor and uses jGroupware's UserDB for authenitication.

Author:
Gareth Webber

Field Summary
 
Fields inherited from class org.apache.struts.tiles.TilesRequestProcessor
debug
 
Fields inherited from class org.apache.struts.action.RequestProcessor
actions, appConfig, INCLUDE_PATH_INFO, INCLUDE_SERVLET_PATH, log, servlet
 
Constructor Summary
JGRequestProcessor()
           
 
Method Summary
protected  boolean processRoles(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.struts.action.ActionMapping mapping)
          Check user has rights to use this action
 
Methods inherited from class org.apache.struts.tiles.TilesRequestProcessor
doForward, init, initDefinitionsMapping, internalModuleRelativeForward, internalModuleRelativeInclude, processForwardConfig, processTilesDefinition
 
Methods inherited from class org.apache.struts.action.RequestProcessor
destroy, doInclude, getDebug, getInternal, getServletContext, log, log, process, processActionCreate, processActionForm, processActionForward, processActionPerform, processContent, processException, processForward, processInclude, processLocale, processMapping, processMultipart, processNoCache, processPath, processPopulate, processPreprocess, processValidate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JGRequestProcessor

public JGRequestProcessor()
Method Detail

processRoles

protected boolean processRoles(javax.servlet.http.HttpServletRequest request,
                               javax.servlet.http.HttpServletResponse response,
                               org.apache.struts.action.ActionMapping mapping)
                        throws java.io.IOException,
                               javax.servlet.ServletException
Check user has rights to use this action

Parameters:
request - Description of the Parameter
response - Description of the Parameter
mapping - Description of the Parameter
Returns:
Description of the Return Value
Throws:
java.io.IOException - Description of the Exception
SevletException - Description of the Exception
javax.servlet.ServletException