cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: General security error (Provided SAML token does not contain a suitable key)
Date Wed, 04 Jan 2012 15:24:09 GMT
On Tuesday, January 03, 2012 1:17:15 PM danlee100 wrote:
> After I upgraded CXF to 2.5.1, I am getting another error. It seems that
> RequestSecurityToken is not recognized.

This looks like a SecureConversation request.    Does the wsdl define a ws-
secureconverstation policy?

Also, what cxf "jars"  do you have on the classpath.    You likely need the 
ws-policy, ws-security, ws-addressing jars.    With 2.5, we did reduce some of 
the dependencies so you may need to add some of them back on if they are 
needed.  

Dan



> 
> 2012-01-03 12:19:13,700 [MIND] WARN [http-192.168.168.51-80-1]
> org.apache.cxf.phase.PhaseInterceptorChain.doLog(384) | Interceptor for
> {http://schema.bli.org/}AssessmentDataService has thrown exception,
> unwinding now
> org.apache.cxf.interceptor.Fault: Message part
> {http://docs.oasis-open.org/ws-sx/ws-trust/200512}RequestSecurityToken was
> not recognized.  (Does it exist in service WSDL?)
>         at
> org.apache.cxf.interceptor.DocLiteralInInterceptor.handleMessage(DocLiteralI
> nInterceptor.java:197) at
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain
> .java:263) at
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationOb
> server.java:123) at
> org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDes
> tination.java:207) at
> org.apache.cxf.transport.servlet.ServletController.invokeDestination(Servlet
> Controller.java:213) at
> org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.
> java:193) at
> org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServ
> let.java:126) at
> org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractH
> TTPServlet.java:185) at
> org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServ
> let.java:108) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at
> org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPSer
> vlet.java:164)
> 
> 
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/Re-General-security-error-Provided-SAML-tok
> en-does-not-contain-a-suitable-key-tp4990489p5117995.html Sent from the
> cxf-dev mailing list archive at Nabble.com.
-- 
Daniel Kulp
dkulp@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Mime
View raw message