Configuration file updates

You can use the [http-transformations] stanza to define HTTP transformation resources.

Use the resource-name configuration entry to define HTTP transformation resources. The configuration entries must be in the following format:

resource-name = resource-file

where:

resource-name
The name of the HTTP transformation resource.
resource-file
The name of the resource file.

For more information, see [http-transformations] stanza.

You can use the [http-transformations: <resource-name> ]stanza to house configuration that is specific to a particular HTTP transformation resource. The <resource-name>  component of the stanza name must be changed to the actual name of the resource.

Use the cred-attr-name configuration entry in this stanza to define the credential attribute that is included in the XML input document and used when evaluating the HTTP transformation rule.
Note: This configuration entry only applies to XSLT transformation rules. All credential attributes are available to Lua based transformation rules by default.
The configuration entries must be in the following format:
 cred-attr-name = name

where:

name
Name of the credential attribute.
Use the request-match configuration entry in the stanza to determine whether a request should be processed or not. The format of this configuration entry is:
request-match = {request|preazn|postazn|postauthn|response}:<request-line>

Matching on resource URIs is case sensitive. To have a transformation do an insensitive match, in the [http-transformations: <resource-name> ] stanza, set the property match-case-insensitive to true.

The first component of the configuration entry determines where in the processing of the request the rule will be triggered. The second component contains the request line to be matched. A case-sensitive comparison is made between the configuration entry and the HTTP request line. The wildcard characters * and ? can be used in the comparison. You can specify multiple entries if needed.

You also have the option of matching a request by using a host header. This option is useful when you need to selectively enable this functionality for a particular virtual host junction. To selectively match an entry based on a particular host header, prepend the <request-line> with the string [<host>].

For more information, see [http-transformations] stanza.