DEPRECATED com.bea.portal is only useful in the compatibility domain. For the new portal framework please use the classes under the com.bea.netuix package

# com.bea.portal.appflow.processor
PreProcessor Class

public class PreProcessor
extends `com.bea.portal.appflow.processor.AbstractPortalProcessor`

The PreProcessor is the first processor called by the portal's own internal webflow, as defined by the `portal.wf` webflow file.
It has the following responsibilities:
Should auto-login (cookie based) be performed
Is a login "in progress".
otherwise return a portal webflow event so the appropriate framework processor can be invoked.

Related Topics

``PortalAppflowConstants.AUTO_LOGIN``
``PortalAppflowConstants.POST_LOGIN``
``PortalAppflowConstants.PORTLET_EVENT``
``PortalAppflowConstants.PORTLET_WEBFLOW_EVENT``
``PortalAppflowConstants.PORTLET_WEBFLOW_EVENT_PARAMETER``

Hierarchy
  `Object`
  `com.bea.portal.appflow.processor.AbstractPortalProcessor`
  `PreProcessor`

All Implemented Interfaces
  `InputProcessor`

## Constructor Summary

PreProcessor() Default constructor (called by webflow).

## Method Summary

`public `Object`` | `process`(`HttpServletRequest` request, `HttpServletResponse` response, `PortalRequest` portalRequest, `Object` requestContext) Main process method called by webflow.

Methods from `com.bea.portal.appflow.processor.`com.bea.portal.appflow.processor.AbstractPortalProcessor``
``getCurrentPortletState`, `process`,`

Methods from class `java.lang.`Object``
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods from interface `com.bea.p13n.appflow.webflow.`InputProcessor``
`process`

## Constructor Detail

### PreProcessor

    public PreProcessor()

  Default constructor (called by webflow). This processor is NOT session sensitive as it calls `super()`

## Method Detail

### process(HttpServletRequest, HttpServletResponse, PortalRequest, Object) Method

    public Object process(HttpServletRequest request,
                          HttpServletResponse response,
                          PortalRequest portalRequest,
                          Object requestContext)
         throws ProcessingException

Main process method called by webflow.

Overrides
  `AbstractPortalProcessor.process(HttpServletRequest, HttpServletResponse, PortalRequest, Object)`

#### Returns

a String for webflow to evaluate the next processor to invoke.

#### Exceptions

``ProcessingException``

Related Topics

``PortalAppflowConstants.AUTO_LOGIN``
``PortalAppflowConstants.POST_LOGIN``
``PortalAppflowConstants.PORTLET_EVENT``