You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by atul <te...@yahoo.com> on 2004/09/01 21:11:27 UTC

[WSS4J] SAMLSigned action not working after update to latest 09/01 code?

Hi,
I updated the latest wss4j library to 09/01 and it
gives me exception in WSDoAllSender.
The use case : my app generates a signed saml
assertion and passes it to WSDoAllSender to use it to
sign the soap body and headers. This is the exception
I get :
AxisFault
 faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
 faultSubcode:
 faultString: WSDoAllSender: Signed SAML: error during
message processingorg.apache.w
s.security.WSSecurityException: Signature creation
failed; nested exception is:

        java.security.UnrecoverableKeyException:
Cannot recover key
 faultActor:
 faultNode:
 faultDetail:
       
{http://xml.apache.org/axis/}stackTrace:WSSender:
Signed SAML: error dur
ing message
processingorg.apache.ws.security.WSSecurityException:
Signature crea
tion failed; nested exception is:
        java.security.UnrecoverableKeyException:
Cannot recover key
        at
org.apache.ws.axis.security.WSDoAllSender.performST_SIGNAction(WSDoAllSender.java:574)


I am using jdk 1.4.2_05-b04.
any prompt help is really appreciated!

thx



		
_______________________________
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush

Re: [WSS4J] SAMLSigned action not working after update to latest 09/01 code?

Posted by Davanum Srinivas <da...@gmail.com>.
"This exception is thrown if a key in the keystore cannot be
recovered." (see
http://java.sun.com/j2se/1.4.2/docs/api/java/security/UnrecoverableKeyException.html)

-- dims

On Wed, 1 Sep 2004 12:11:27 -0700 (PDT), atul <te...@yahoo.com> wrote:
> Hi,
> I updated the latest wss4j library to 09/01 and it
> gives me exception in WSDoAllSender.
> The use case : my app generates a signed saml
> assertion and passes it to WSDoAllSender to use it to
> sign the soap body and headers. This is the exception
> I get :
> AxisFault
>  faultCode:
> {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
>  faultSubcode:
>  faultString: WSDoAllSender: Signed SAML: error during
> message processingorg.apache.w
> s.security.WSSecurityException: Signature creation
> failed; nested exception is:
> 
>         java.security.UnrecoverableKeyException:
> Cannot recover key
>  faultActor:
>  faultNode:
>  faultDetail:
> 
> {http://xml.apache.org/axis/}stackTrace:WSSender:
> Signed SAML: error dur
> ing message
> processingorg.apache.ws.security.WSSecurityException:
> Signature crea
> tion failed; nested exception is:
>         java.security.UnrecoverableKeyException:
> Cannot recover key
>         at
> org.apache.ws.axis.security.WSDoAllSender.performST_SIGNAction(WSDoAllSender.java:574)
> 
> I am using jdk 1.4.2_05-b04.
> any prompt help is really appreciated!
> 
> thx
> 
> 
> _______________________________
> Do you Yahoo!?
> Win 1 of 4,000 free domain names from Yahoo! Enter now.
> http://promotions.yahoo.com/goldrush
> 


-- 
Davanum Srinivas - http://webservices.apache.org/~dims/