Hi,

Have you setup the security handlers properly at the service? If the
inflow security handler (WSDoAllReceiver) was invoked you will be able
to obtain the security processing results as mentioned in the WSS4J
FAQ.

Thanks,
Ruchith

On 11/3/06, Dave Bagguley <[EMAIL PROTECTED]> wrote:
Hello,

I am sending a signed and encrypted soap message to service and I am trying
to extract the alias of the user from the signature contained in the soap
message.  I want to do this in the password callback class of the service.
From using TCPMonitor I can tell that the users certificate is contained in
the soap message but I don't know how to extract the alias name or any other
information from it.

I have tried using the technique mentioned in the WSS4J FAQ at
http://wiki.apache.org/ws/FrontPage/WsFx/wss4jFAQ#usernme but it doesn't
work as (Vector) msgContext.getProperty(WSHandlerConstants.RECV_RESULTS)
returns null.

Any help would be greatly appreciated

_________________________________________________________________
Be the first to hear what's new at MSN - sign up to our free newsletters!
http://www.msn.co.uk/newsletters


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
www.ruchith.org

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to