How do I add a security callback on the client side via code instead of via wsit-client.xml
How do I add a security callback on the client side via code instead of via wsit-client.xml
February 16, 2012 - 09:38
Right now, I add our security callback via wsit-client.xml:
<wsp:ExactlyOne>
<wsp:All>
<sc:CallbackHandlerConfiguration wspp:visibility="private" xmlns:sc="http://schemas.sun.com/2006/03/wss/client">
<sc:CallbackHandler name="xwssCallbackHandler" classname="com.intuit.spc.IamSecurityCallbackHandler"/>
</sc:CallbackHandlerConfiguration>
</wsp:All>
</wsp:ExactlyOne>
</wsp:Policy>
How do I do the same thing in code?
Thanks





I got a reply from Kumar J. on this and was able to work it out. Essentially, this code demonstrates adding both a security callback handler AND a soap callback handler programmatically: