XML format for mapping web user ID to an MQMD user ID

You can create a set of mappings between web user ID and WebSphere® MQ Message Descriptor (MQMD) user ID by submitting a request to the WebSphere MQ File Transfer Edition Web Gateway. The HTTP request must include content in the following XML format.

The following example shows the format of an XML request to create a set of mappings. To modify an existing set of mappings, use the same format.

<users>
  <user>
    <userID>mike</userID>
    <mqmdUserID>mqmike</mqmdUserID>
  </user>
  <user>
    <userID>lisa</userID>
    <mqmdUserID>mqlisa</mqmdUserID>
  </user>
</users>

If you attempt to start a file upload with a web user ID that is not mapped to an MQMD user ID, the value of the defaultMQMDUserID initialization parameter is used. The value of this parameter is set when you deploy the Web Gateway application to an application server environment. For more information, see Deploying the Web Gateway with WebSphere Application Server Version 7.0 and Preparing to deploy the Web Gateway with WebSphere Application Server Community Edition.

Understanding the request to create or change user ID mappings

The elements and attributes of the request are described in the following list:

users
Group element containing <user> elements.

user
Element containing the information for a user of the Web Gateway.

userID
Element containing the web user ID for the user. This is the user ID that is defined in the application server environment that hosts the Web Gateway.

mqmdUserID
Element containing the name of the MQMD user ID (the WebSphere MQ user ID that is supplied in the message descriptor) to use in file upload transfers initiated by the user.

The mqmdUserID attribute has a maximum length of 12 characters.


Reference Reference

Feedback

Timestamp icon Last updated: Tuesday, 30 January 2018
http://www.ibm.com/support/knowledgecenter/SSEP7X_7.0.4/com.ibm.wmqfte.doc/web_user_schema.htm