cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From santhosh00724 <santhosh00...@gmail.com>
Subject RE: WSSecurityEngine: Callback supplied no password for: null when using useReqSigCert for encryptionUser in multiple client scenario.
Date Mon, 30 Mar 2009 18:32:18 GMT

Thank you for reply,

This is what I am getting now. I am using CXF 2.1.3. is this a problem. I
tried using CXF 2.2 & 2.1.4 I am getting : java.lang.ClassNotFoundException:
org.springframework.context.support.AbstractRefres
hableConfigApplicationContext

Santhosh.

Original Exception with CXF 2.1.3:
org.apache.ws.security.WSSecurityException: Error during encryption: ;
nested exception is: 
        org.apache.ws.security.WSSecurityException: General security error
(No certificates for user useReqSigCert were found for encryption)
        at
org.apache.ws.security.action.EncryptionAction.execute(EncryptionAction.java:64)
        at
org.apache.ws.security.handler.WSHandler.doSenderAction(WSHandler.java:201)
        at
org.apache.cxf.ws.security.wss4j.WSS4JOutInterceptor.access$200(WSS4JOutInterceptor.java:47)
        at
org.apache.cxf.ws.security.wss4j.WSS4JOutInterceptor$WSS4JOutInterceptorInternal.handleMessage(WSS4JOutInterceptor.java:219)
        at
org.apache.cxf.ws.security.wss4j.WSS4JOutInterceptor$WSS4JOutInterceptorInternal.handleMessage(WSS4JOutInterceptor.java:107)
        at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220)
        at
org.apache.cxf.interceptor.OutgoingChainInterceptor.handleMessage(OutgoingChainInterceptor.java:74)
        at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220)
        at
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78)
        at
org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:92)
        at
org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:285)
        at
org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:168)
        at
org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:175)
        at
org.apache.cxf.transport.servlet.AbstractCXFServlet.doPost(AbstractCXFServlet.java:153)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
        at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        at java.lang.Thread.run(Thread.java:619)
Caused by: org.apache.ws.security.WSSecurityException: General security
error (No certificates for user useReqSigCert were found for encryption)
        at
org.apache.ws.security.message.WSSecEncrypt.prepare(WSSecEncrypt.java:248)
        at
org.apache.ws.security.message.WSSecEncrypt.build(WSSecEncrypt.java:288)
        at
org.apache.ws.security.action.EncryptionAction.execute(EncryptionAction.java:62)
        ... 27 more


Colm O hEigeartaigh wrote:
> 
> Hi,
> 
> Can you try again, except this time using a SNAPSHOT version of WSS4J
> available here:
> 
> http://people.apache.org/~coheigea/stage/wss4j/1.5.7-SNAPSHOT/
> 
> Dan Kulp made some fixes lately for some multi-threaded problems that
> are included in the SNAPSHOT...this *may* be causing the problem.
> 
> Colm.
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/WSSecurityEngine%3A-Callback-supplied-no-password-for%3A-null--when-using-useReqSigCert-for-encryptionUser-in-multiple-client-scenario.-tp22745189p22789814.html
Sent from the cxf-dev mailing list archive at Nabble.com.


Mime
View raw message