I wasn't able to duplicate your error. Running on two Ubuntu Linux machines, one with JDK 1.6 and the other JDK 1.7, both with the unlimited encryption files as stated in this sample's README. Then I opened three terminal windows, and per the README instructions, ran "mvn -Psts", "mvn -Pserver", and "mvn -Pclient" within those three with no difficulty on either machine. Did you make modifications to the sample potentially causing that error to occur?

Note the Talend ESB download offers two more CXF STS examples (http://www.jroller.com/gmazza/entry/cxf_sts_tutorial) you may wish to take a look at as well. But I would try to get this simple sample working on your machine first.

Glen

On 02/15/2012 07:51 PM, mohamadan wrote:
Hi,

CXF 2.5.2 comes with a sample on STS. ( I am using jdk 1.6)
Basically, Client communicates with STS to get a SAML token, and
then Client uses SAML token to communicate with Server.

When I try to run the sample, it  fails when client sends a request for Saml
Token to STS:

ID: 2
Response-Code: 500
Encoding: UTF-8
Content-Type: text/xml
Headers: {}
Payload:<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";><
soap:Body><soap:Fault><faultcode
xmlns:ns1="http://docs.oasis-open.org/wss/2004/
01/oasis-200401-wss-wssecurity-secext-1.0.xsd">ns1:FailedCheck</faultcode><fault
string>The signature or decryption was
invalid</faultstring></soap:Fault></soap:
Body></soap:Envelope>

Is it known issue ? I am thinking to try older CXF builds. Please let me
know if anyone knows any issue with this sample .

Thanks


--
View this message in context: 
http://cxf.547215.n5.nabble.com/Running-STS-Sample-in-CXF-2-5-2-tp5488049p5488049.html
Sent from the cxf-user mailing list archive at Nabble.com.


--
Glen Mazza
Talend Community Coders - coders.talend.com
blog: www.jroller.com/gmazza

Reply via email to