Contents
You can use the Extract WSS Username Token filter to extract
a WS-Security UsernameToken
from a message if it exists. The extracted
UsernameToken
token is stored in the wss.usernameToken
message attribute.
To process the UsernameToken
later in the policy, you can specify
this message attribute in the configuration screen for the processing filter.
For example, to sign the UsernameToken
, 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 user name token.