Show me the code! – By Davanum Srinivas

October 11, 2007

How about a concrete example using WS-Security UsernameToken profile

Filed under: Uncategorized — Davanum Srinivas @ 2:13 pm

I can’t remember if i saw something like this somewhere else before…So here’s something to chew on. Some cut-n-paste from the Pownce site.

HTTP/1.1 200 OK 
Date: Mon, 23 May 2005 22:38:34 GMT 
Server: Apache/1.3.27 (Unix) (Red-Hat/Linux) 
Content-Length: 438 Connection: close 
Content-Type: text/html; charset=UTF-8 
Security-Signature: type=UsernameToken; Username="clint"; PasswordDigest="ztx+laokpMlpZaWtnOa57k8MzIQ="; Nonce="KjsaeiuDFKJEwkr4332rL="; Created="2007-07-16T21:35:50Z";

Accept-Signature is a tip from James’ #4 bullet point.

GET /index.html HTTP/1.1 
Host: www.example.com 
Accept-Signature: UsernameToken

1 Comment »

  1. Dang! found it – http://www.xml.com/pub/a/2003/12/17/dive.html

    Comment by davanum — October 11, 2007 @ 2:18 pm


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: