You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Shawn McKinney <sm...@sbcglobal.net> on 2005/04/22 16:13:57 UTC

Help with WSDoAllReceiver Handler

Using WSS4J Handler - WSDoAllReceiver to pull WSS
username token from WSS Header.  

The WSDoAllReceiver handler is doing its job, pulling
the username/password from username token.  But, I'm
not sure where to go to retrieve the creds in my
authentication handler.  For example, I would expect
the username/password to be in the MessageContext
username and password attributes downstream, but those
values are null.

I have stepped through the WSDoAllReceiver code with
debugger and have verified that it pulls the creds
from the header, but am mystified by where it is
actually storing the data.

Since I'm new to Axis and WSS4J I am also concerned
about violating best practices here.  I could create
handler to move creds to MessageContext, but don't
want to break anything else.

I am using Axis v 1.2 RC 3, running in Tomcat 5.0.25
on SUSE 9.2.

Thanks