Extract WSS UsernameToken

Contents

Overview

You can use the Extract WSS Username Token filter to extract a WS-Security Username Token from a message if it exists. The extracted Username Token is stored in the wss.usernameToken message attribute.

If you want to process the Username Token later in the circuit, you can specify this message attribute in the configuration screen for the processing filter. For example, if you want to sign the Username Token, you can simply specify the wss.usernameToken message attribute in the What to Sign section of the Sign Message filter. Open the Message Attribute tab on the What to Sign screen, and specify this attribute to sign the Username Token.

Configuration

Configure the following field on the Extract WSS Username Token filter configuration screen:

Name:
Enter an appropriate name for the filter. Remember that the WS-Security Username Token is stored in the wss.usernameToken message attribute.