IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Editing module deployment properties > Implementing basic authentication
Create a required security token for the request message
The third step in implementing basic authentication is to create a required security token for the request message to be received by the export.
Before you create a required security token, you should ensure that you have created a token generator as described in the topic "Creating a token generator for the request message."
To create a required security token:
Procedure
- In the Business Integration view, select the module that contains your web services export.
- Right-click the selected module and select Open Deployment Editor. The module deployment editor opens.
- Click the Design tab.
- Select the Web Services Exports node.
- Click Add and select Web Services Security Extensions. The Web Services Security Extensions node is added under the Web Services Exports node.
- Select the Web Services Security Extensions node.
- Click Add and select Web Service Description Extension. The Select a Web Service Export window appears.
- In the window, select your web service export, for example, receiveWebServiceCallFromClient.
- Select the Port Component Binding node that was added.
- Click Add and select Server Service Configuration. The Server Service Configuration node is added under Port Component Binding.
- Select the Server Service Configuration node.
- Click Add and select Request Consumer Service Configuration Details. The Request Consumer Service Configuration Details node is added under Server Service Configuration.
- Select the Request Consumer Service Configuration Details node.
- Click Add and select Required Security Token. The Select a Token Type window appears.
- In the window, select Username Token. A Required Security Token node is added under Request Consumer Service Configuration Details.
- Select the Required Security Token node.
- In the Name field, type a name for the new required security token.
For example, reqUNToken.
- Leave the Namespace URI field blank. No URI value is required for a username token.
- In the Usage type drop-down list, select Required. The Required usage type will cause a SOAP fault to be thrown whenever a required security token is not included in the import's request message.
- Press Ctrl-S to save your changes.
What to do next
After you have finished creating a required security token, you need to create a caller part as described in the topic "Creating a caller part for the request message."