You are on page 1of 2


TIBCO BusinessWorks: Understanding Web Services Security 22

6.1.1 Request Contents UserName Token
In this particular test, the configuration is to use the UserName Token in Text Mode for Authentication.
<SOAP-ENV:Envelope xmlns:SOAP-ENV="">
<wsse:Security SOAP-ENV:mustUnderstand="1" xmlns:wsse="http://docs.oasis-">
<wsse:UsernameToken xmlns:wsse="
<wsse:Username xmlns:wsse="
<wsse:Password Type="
token-profile-1.0#PasswordText" xmlns:wsse="
<wsu:Created xmlns:wsu="
<wsse:Nonce xmlns:wsse="
<ns0:Inquiry xmlns:ns0="">What
Time is it?</ns0:Inquiry>

Notice the wsse and wsu namespaces (UsernameToken, Username, Password, Created, and Nonce), and
the literal Username and Password (in clear text) with a timestamp all of these are in bold. The timestamp
(wsu:Created) is used with the timeout parameter to limit the useful time period for the nonce ( wsse:Nonce);
together, the Nonce and an explicit timestamp permit ID/Passwords to be used in the clear while not being reusable or
subject to replay. The other form of password is Digest, which is more secure; for the best security using UserName
Tokens, you should use TLS/SSL to encrypt the communications channel.
TIBCO BusinessWorks: Understanding Web Services Security 23
In order to capture this information, I used TCPMon to listen in on Port 7176 and relay everything to Port 7177. To do
this, modify the SOAP Clients Transport Details Tab info as shown below:

6.1.2 Troubleshooting Bad ID or Password
Now, lets introduce an error into this situation intentionally change the password on the UserNameToken
Identity, so that it will fail authentication with the Administrator, and re-run the test and you will get a SOAPPLUGIN-
100023 Error, indicating that a SOAP Fault was sent by the Service: