org.apache.cxf.ws.security.trust.delegation
Class WSSUsernameCallbackHandler
java.lang.Object
org.apache.cxf.ws.security.trust.delegation.WSSUsernameCallbackHandler
- All Implemented Interfaces:
- CallbackHandler
public class WSSUsernameCallbackHandler
- extends Object
- implements CallbackHandler
This CallbackHandler implementation obtains a username via the jaxws property
"ws-security.username", as defined in SecurityConstants, and creates a wss UsernameToken
(with no password) to be used as the delegation token.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSSUsernameCallbackHandler
public WSSUsernameCallbackHandler()
handle
public void handle(Callback[] callbacks)
throws IOException,
UnsupportedCallbackException
- Specified by:
handle
in interface CallbackHandler
- Throws:
IOException
UnsupportedCallbackException
Apache CXF