Provide a UsernameToken sample with custom handlers
---------------------------------------------------
Key: JBWS-2211
URL:
http://jira.jboss.com/jira/browse/JBWS-2211
Project: JBoss Web Services
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: jbossws-metro, ws-security
Reporter: Alessio Soldano
Assigned To: Alessio Soldano
Fix For: jbossws-metro-3.0.3
The client side wsse metro configuration uses policies like this:
<wsp:Policy wsu:Id="ClientKeystorePolicy"
xmlns:sc="http://schemas.sun.com/2006/03/wss/client">
<wsp:ExactlyOne>
<wsp:All>
<sc:CallbackHandlerConfiguration>
<sc:CallbackHandler name="usernameHandler"
default="kermit"/>
<sc:CallbackHandler name="passwordHandler"
default="thefrog"/>
</sc:CallbackHandlerConfiguration>
</wsp:All>
</wsp:ExactlyOne>
</wsp:Policy>
We should provide at least an example showing how to leverage custom callback handler; for
instance these might use the username/password configured in the context the same way we
do for native stack.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira