[
https://issues.apache.org/jira/browse/KNOX-1728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kevin Risden updated KNOX-1728:
-------------------------------
Description:
Breaking this out from KNOX-1559 where the changes were included.
This allows for <param> to be set for dispatches both in service.xml and
topology xml files. This sets the ground work for KNOX-1559 and others to use
the parameters for customization of behavior. It avoids the need to hardcode
additional parameters when customizing dispatches.
An example from KNOX-1559 could be something like this:
{code:java}
<dispatch classname="org.apache.knox.gateway.dispatch....">
<param>
<name>excludeRequestHeaders</name>
<value>Authorization,Content-Length</value>
</param>
<param>
<name>excludeResponseHeaders</name>
<value>SET-COOKIE,WWW-AUTHENTICATE</value>
</param>
<param>
<name>removeUrlEncoding</name>
<value>true</value>
</param>
</dispatch>{code}
was:
Breaking this out from KNOX-1559 where the changes were included.
This allows for <param> to be set for dispatches both in service.xml and
topology xml files. This sets the ground work for KNOX-1559 and others to use
the parameters for customization of behavior. It avoids the need to hardcode
additional parameters when customizing dispatches.
> Allow custom parameters to be passed to dispatches
> --------------------------------------------------
>
> Key: KNOX-1728
> URL: https://issues.apache.org/jira/browse/KNOX-1728
> Project: Apache Knox
> Issue Type: Improvement
> Reporter: Kevin Risden
> Assignee: Kevin Risden
> Priority: Major
> Fix For: 1.3.0
>
> Attachments: KNOX-1728.patch, KNOX-1728.patch, KNOX-1728.patch
>
>
> Breaking this out from KNOX-1559 where the changes were included.
> This allows for <param> to be set for dispatches both in service.xml and
> topology xml files. This sets the ground work for KNOX-1559 and others to use
> the parameters for customization of behavior. It avoids the need to hardcode
> additional parameters when customizing dispatches.
> An example from KNOX-1559 could be something like this:
> {code:java}
> <dispatch classname="org.apache.knox.gateway.dispatch....">
> <param>
> <name>excludeRequestHeaders</name>
> <value>Authorization,Content-Length</value>
> </param>
> <param>
> <name>excludeResponseHeaders</name>
> <value>SET-COOKIE,WWW-AUTHENTICATE</value>
> </param>
> <param>
> <name>removeUrlEncoding</name>
> <value>true</value>
> </param>
> </dispatch>{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)