mace-opensaml-users - RE: signed assertions in <Evidence> in <AuthorizationDecisionStatement>
Subject: OpenSAML user discussion
List archive
- 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
- signed assertions in <Evidence> in <AuthorizationDecisionStatement>, Giandomenico Napolitano, 08/02/2005
- RE: signed assertions in <Evidence> in <AuthorizationDecisionStatement>, Scott Cantor, 08/02/2005
- RE: signed assertions in <Evidence> in <AuthorizationDecisionStatement>, Scott Cantor, 08/02/2005
- Re: signed assertions in <Evidence> in <AuthorizationDecisionStatement>, Giandomenico Napolitano, 08/03/2005
- RE: signed assertions in <Evidence> in <AuthorizationDecisionStatement>, Scott Cantor, 08/03/2005
- Re: signed assertions in <Evidence> in <AuthorizationDecisionStatement>, Giandomenico Napolitano, 08/03/2005
Archive powered by MHonArc 2.6.16.