Skip to Content.
Sympa Menu

mace-opensaml-users - RE: signed assertions in <Evidence> in <AuthorizationDecisionStatement>

Subject: OpenSAML user discussion

List archive

RE: signed assertions in <Evidence> in <AuthorizationDecisionStatement>


Chronological Thread 
  • From: "Scott Cantor" <>
  • To: "'Giandomenico Napolitano'" <>, <>
  • Subject: RE: signed assertions in <Evidence> in <AuthorizationDecisionStatement>
  • Date: Wed, 3 Aug 2005 11:33:02 -0400
  • Organization: The Ohio State University

> invoking method cloneNode(true) from interface org.w3c.dom.Node
> worked for me.
> I'm using Sun J2SE 1.5.0, so YMMV.

That's a good point, and is a better manual workaround than what I
suggested.

> sample code:
>
> SAMLAssertion original = ...
> Element e = (Element) original.toDOM();
> Element ne = (Element) e.cloneNode(true);
> SAMLAssertion copy = new SAMLAssertion(ne);

Yes, that should work fine. Same as my suggestion, but is direct instead of
requiring the extra parse.

-- Scott




Archive powered by MHonArc 2.6.16.

Top of Page