-
Bug
-
Resolution: Done
-
Major
-
jbossws-1.0.1
-
None
Using the UsernameToken profile a keystore and truststore is still required.
If an endpoint is configured for the UsernameToken profile but does not use X.509 encryption or signing a keystore and truststore is still required otherwise the following error is reported: -
2006-07-13 15:56:59,181 ERROR [org.jboss.ws.wsse.WSSecurityDispatcher] Internal error occured handling outbound message:
org.jboss.ws.wsse.WSSecurityException: Problems loading Keystore: Keystore url not specified
at org.jboss.ws.wsse.SecurityStore.loadStore(SecurityStore.java:121)
at org.jboss.ws.wsse.SecurityStore.loadKeyStore(SecurityStore.java:80)
at org.jboss.ws.wsse.SecurityStore.<init>(SecurityStore.java:71)
at org.jboss.ws.wsse.WSSecurityDispatcher.handleOutbound(WSSecurityDispatcher.java:289)
at org.jboss.ws.wsse.WSSecurityHandler.handleOutboundSecurity(WSSecurityHandler.java:75)
at org.jboss.ws.wsse.WSSecurityHandlerOutbound.handleRequest(WSSecurityHandlerOutbound.java:38)
at org.jboss.ws.handler.HandlerWrapper.handleRequest(HandlerWrapper.java:121)
at org.jboss.ws.handler.HandlerChainBaseImpl.handleRequest(HandlerChainBaseImpl.java:254)
at org.jboss.ws.jaxrpc.CallImpl.callRequestHandlerChain(CallImpl.java:745)
at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:652)
at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:398)
at org.jboss.ws.jaxrpc.CallProxy.invoke(CallProxy.java:164)
The existing UsernameToken test case still configures the keystore and truststore even though they should not be required.