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 |
PORTALSERVLETRESPONSE | A reference of the |
PORTALCONTEXTPATH | A string representing the context path of the portal. Equivalent to the context path of the |
PORTALSERVLETPATH | A string representing the servlet path of the portal. Equivalent to the servlet path of the |
PORTALPATHINFO | A string representing the path info of the portal. Equivalent to the path info of the |
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 |
portalServletResponseFactory | A reference to a component that creates |
wrapping | A boolean that determines whether the filter should wrap the |
initD5StyleAttributes | Sets request attributes compatible with the ATG Dynamo 5 portal product. See Dynamo 5 Style Attributes. |
portalServletRequestName | The name of a nucleus component to bind |