);
doubleIt(bearerPort, 25);
// Change the STSClient so that it can no longer find the STS
STSClient stsClient = new STSClient(bus);
stsClient.setActAs(new WSSUsernameCallbackHandler());
p.getRequestContext().put(SecurityConstants.STS_CLIENT, stsClient);
// Make a successful invocation - should work as token is cached
((BindingProvider)bearerPort).getRequestContext().put(
"ws-security.username", "alice"