Filter Class Name: atg.portal.servlet.PortalServerFilter

This filter wraps the incoming HttpServletRequest and HttpServletResponse objects with PortalServletRequest and PortalServletResponse objects respectively. This filter also determines the property values for portalContextPath, portalServletPath and portalPathInfo. This filter should always be at the head of the filter chain.

Here are the request attributes set by the Portal Server Filter. These attributes are defined in the atg.portal.servlet.Attribute interface.

Request Attribute Constants

Description

PORTALSERVLETREQUEST

A reference to the PortalServletRequest object.

PORTALSERVLETRESPONSE

A reference of the PortalServletResponse object.

PORTALCONTEXTPATH

A string representing the context path of the portal. Equivalent to the context path of the HttpServletRequest.

PORTALSERVLETPATH

A string representing the servlet path of the portal. Equivalent to the servlet path of the HttpServletRequest.

PORTALPATHINFO

A string representing the path info of the portal. Equivalent to the path info of the HttpServletRequest.

Portal Server Filter Parameters

The following init parameters can be used to control the behavior of the Portal Server Filter:

Parameter

Description

portalServletRequestFactory

A reference to a component that creates PortalServletRequest objects.

portalServletResponseFactory

A reference to a component that creates PortalServletResponse objects.

wrapping

A boolean that determines whether the filter should wrap the HttpServletRequest/HttpServletResponse with the PortalServletRequest/PortalServletResponse and pass them down the filter chain. Defaults to false, which means that the HttpServletRequest and HttpServletResponse are passed on.

initD5StyleAttributes

Sets request attributes compatible with the ATG Dynamo 5 portal product.

portalServletRequestName

The name of a nucleus component to bind PortalServletRequest to. Defaults to /PortalServletRequest.


Copyright © 1997, 2014 Oracle and/or its affiliates. All rights reserved. Legal Notices