mace-opensaml-users - RE: Bug?
Subject: OpenSAML user discussion
List archive
- From: Scott Cantor <>
- To: ,
- Subject: RE: Bug?
- Date: Fri, 25 Jun 2004 17:14:45 -0600
- Organization: The Ohio State University
> I'm making a system, I need send a Authorization Decision Query
>with Evidence a Attribute Assertion. the servlet 'QueryWSE' send a
>SAMLRequest to other servlet 'Autoridad', I got a SAMLException from
>Autoridad, that exception is logic but not's logic why that exception?
Not all your code is there, but it looks like you're reusing the same
subject parameter and passing it into two different objects as a piece to
include. You need to clone the subject to use it twice, because I don't copy
anything for the caller. My C++ poking through, I prefer to favor efficiency
over assuming that copying is needed.
>SAMLAssertion assertion = aut.getAttributeAssertion(user, subject);
Change the second parameter to subject.clone() and it should fix it.
-- Scott
<<attachment: winmail.dat>>
- Bug?, Grover Manuel Campos Ancajima, 06/25/2004
- RE: Bug?, Scott Cantor, 06/25/2004
- Re: Bug?, Grover Manuel Campos Ancajima, 06/25/2004
- RE: Bug?, Scott Cantor, 06/25/2004
Archive powered by MHonArc 2.6.16.