One more question that might answer my problem.
In the service code for user/password I add annotation:
@RolesAllowed("internal")
| and
| @SecurityDomain(value="JBossWS")
|
In the client to pass the user password, I had to add:
| BindingProvider bindingProvider = (BindingProvider) port;
| Map<String, Object> reqContext =
bindingProvider.getRequestContext();
| reqContext.put(BindingProvider.USERNAME_PROPERTY,
"myuser");
| reqContext.put(BindingProvider.PASSWORD_PROPERTY,
"mypassword");
|
For signing/encryption I added this annotation to the service:
@HandlerChain(file="resource://config/ServerHandler.xml",
name="SecureHandlerChain")
and added the the ServerHandler.xml and jboss-wsse-server.xml
To the client, I did nothing special to the code, just added the
jboss-wsse-client.xml. Is there a bit of code I am not doing, that I should? If
so, what is it?
Thanks Again,
Richard K
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034114#4034114
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034114
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user