Hello,

Here is my situation: client A accesses service B. Service B is protected by passwordcallback class C. C needs to read the username and the method name from the soap message so that it can check with a database to see if client A has permission to access the method of service B.

This works fine when I use UsernameToken to protect B. using:
MessgageContext mc = MessageContext.getCurrentContext();
String method = mc.getOperation().getName()

However, when I use encryption instead of usernameToken, the passwordcallback class cannot read the MessageContext because it is encrypted.

Does anyone know of a way around this?

Thanks

_________________________________________________________________
Windows LiveĀ™ Messenger has arrived. Click here to download it for free! http://imagine-msn.com/messenger/launch80/?locale=en-gb


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

Reply via email to