Skip to Content.
Sympa Menu

mace-opensaml-users - Re: Re: Signing a SAML object

Subject: OpenSAML user discussion

List archive

Re: Re: Signing a SAML object


Chronological Thread 
  • From:
  • To:
  • Subject: Re: Re: Signing a SAML object
  • Date: Tue, 11 Mar 2008 13:00:10 -0400 (EDT)

Hi Brent

Thanks for updating the signing information. Could you clarify a couple of
areas for me.

1. In your example you have the following code. You marshall the assertion
with the signature attached but don't store it anywhere. Then you sign the
signature object. How does the Signer.signObject get the marshalled assertion
in order to generate the signature.

2. Once the signature object has been signed (the signature value set), does
the assertion need to be marshalled again to get the sign assertion?

try {

Configuration.getMarshallerFactory().getMarshaller(assertion).marshall(assertion);
} catch (MarshallingException e) {
e.printStackTrace();
}

try {
Signer.signObject(signature);
} catch (SignatureException e) {
e.printStackTrace();
}

Thanks

Regards

Matthew Webb



Archive powered by MHonArc 2.6.16.

Top of Page