Entering content frameProcedure documentation Specifying the HTTP Header Variable to Use Locate the document in its SAP Library structure

Use

If you are using an arbitrary authentication mechanism on the Web server that sets the user’s ID in an HTTP header variable, and the header variable used differs from the Web server’s standard one, then use this procedure to specify the HTTP header variable that is used.

Note

Both Microsoft’s IIS and the Apache Web server use the HTTP header variable REMOTE_USER to store the user’s ID. Therefore, if the authentication mechanism sets this HTTP header variable on one of these Web servers, then you can skip this procedure.

Procedure

Specify the name of the HTTP header variable used in the WGate’s configuration file ITSRegistryWGate.xml. Make the entry in the Headers section using the following information:

HTTP Header Variable Parameters

Parameter

Value

Comment

Name

<HTTP_Header_Variable>

The syntax to use for your HTTP header variable depends on the Web server. For example, the Microsoft IIS Web server uses the syntax HTTP_<header_variable> for externally set header variables.

Set

0

The value 0 specifies that the value of the HTTP header variable should be passed to the AGate.

Using the value 1 would specify that the HTTP header variable should be set using the value contained in the Value parameter.

Value

(empty)

 

See the example below.

Example

The following Headers section specifies that the WGate is to pass the contents the HTTP header variable HTTP_SAP_USER_ID to the AGate.

<key name="Headers">
<key name="Header1">
<value name="Name" type="text">HTTP_SAP_USER_ID</value>
<value name="Set" type="text">0</value>
<value name="Value" type="text"></value>
</key>

See also:

ITS Administration à WGate Configuration à Structure linkWGate Registry Configuration

 

Leaving content frame