[wsas-java-dev] [jira] Closed: (WSAS-364) WSSecurityException when running client with securerm

Charitha Kankanamge (JIRA) jira at wso2.org
Wed Nov 14 22:47:14 PST 2007


     [ http://www.wso2.org/jira/browse/WSAS-364?page=all ]

Charitha Kankanamge closed WSAS-364.
------------------------------------


This does not exist in WSAS-2.1 release. Verified and closed the bug.

> WSSecurityException when running client with securerm
> -----------------------------------------------------
>
>                 Key: WSAS-364
>                 URL: http://www.wso2.org/jira/browse/WSAS-364
>             Project: WSO2 WSAS
>          Issue Type: Bug
>    Affects Versions: Nightly
>         Environment: winxp, jdk15
>            Reporter: Charitha Kankanamge
>         Assigned To: Ruchith Fernando
>            Priority: Blocker
>             Fix For: Nightly
>
>
> When I was running commodityQuote sample with -qos securerm,  got the following exception if 'Sign and encrypt - Basic 256' security scenario is assigned to service.
> org.apache.ws.security.WSSecurityException: An error was discovered processing the <wsse:Security> header. (WSSecurityEngine: DataReference - referenced data not found)
>         at org.apache.ws.security.processor.EncryptedKeyProcessor.decryptDataRef(EncryptedKeyProcessor.java:382)
>         at org.apache.ws.security.processor.EncryptedKeyProcessor.handleEncryptedKey(EncryptedKeyProcessor.java:332)
>         at org.apache.ws.security.processor.EncryptedKeyProcessor.handleEncryptedKey(EncryptedKeyProcessor.java:87)
>         at org.apache.ws.security.processor.EncryptedKeyProcessor.handleToken(EncryptedKeyProcessor.java:76)
>         at org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:279)
>         at org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:201)
>         at org.apache.rampart.RampartEngine.process(RampartEngine.java:93)
>         at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:71)
>         at org.apache.axis2.engine.Phase.invoke(Phase.java:292)
>         at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:212)
>         at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:132)
>         at org.apache.sandesha2.workers.SenderWorker.checkForSyncResponses(SenderWorker.java:610)
>         at org.apache.sandesha2.workers.SenderWorker.run(SenderWorker.java:307)
>         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>         at java.lang.Thread.run(Thread.java:595)
> Printing symbols...
> Steps to reproduce:
> =================
> 1. Build CommodityQuote 
> 2. Engage Sandesha2 and Addressing modules to that service
> 3. Assign ' Sign and encrypt - Basic 256' security scenario
> 4. Enter run-client.bat -qos securerm

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://www.wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        




More information about the Wsas-java-dev mailing list