In WSSecurityDispatcher is see
| if (operationConfig.getUsername() != null)
| {
| Object user = ctx.get(Stub.USERNAME_PROPERTY);
| Object pass = ctx.get(Stub.PASSWORD_PROPERTY);
|
| if (user != null && pass != null)
| {
| operations.add(new
OperationDescription<EncodingOperation>(SendUsernameOperation.class, null,
user.toString(), pass.toString(), null));
| ctx.put(StubExt.PROPERTY_AUTH_TYPE, StubExt.PROPERTY_AUTH_TYPE_WSSE);
| }
| }
|
which indeed only processes the jaxrpc stub properties.
More generally, StubExt needs to be refactored such that it applies to both jaxrpc and
jaxws.
Could you please create
org.jboss.test.ws.jaxws.samples.wssecurity.SimpleUsernameTestCase
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067348#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...