mace-opensaml-users - Re: SAMLSoapBinding.response with exception
Subject: OpenSAML user discussion
List archive
- From: "Mike Ferraro" <>
- To: "Scott Cantor" <>, <>
- Subject: Re: SAMLSoapBinding.response with exception
- Date: Mon, 20 Sep 2004 16:03:09 -0400
> Yes, you can pass a SAMLException into the SAMLResponse constructor
itself,
> which it turns into a Status element. There is an imperfect but general
> correspondence between the Exception objects and the Status DOM.
>
> E.g:
>
> SAMLException e=new SAMLException(SAMLException.REQUESTER, "Message");
> SAMLResponse r=new SAMLResponse(e); // or something like this...
>
> I don't have the class in front of me, but there's a SAMLException
parameter
> in the constructor somewhere.
>
Ah, yes. I see it now. I guess I was looking for something like a
setStatus/Exception() method. I build the response as I get information
from different methods, so I guess I wasn't looking at doing it all at once
in the constructor. Thanks for the tip.
Mike
- OpenSAML on Websphere/Solaris, Sanga Viswanathan, 09/13/2004
- RE: OpenSAML on Websphere/Solaris, Scott Cantor, 09/13/2004
- RE: OpenSAML on Websphere/Solaris, Sanga Viswanathan, 09/13/2004
- RE: OpenSAML on Websphere/Solaris, Scott Cantor, 09/13/2004
- SAMLSoapBinding.response with exception, Mike Ferraro, 09/17/2004
- RE: SAMLSoapBinding.response with exception, Scott Cantor, 09/17/2004
- Re: SAMLSoapBinding.response with exception, Mike Ferraro, 09/20/2004
- RE: SAMLSoapBinding.response with exception, Scott Cantor, 09/20/2004
- Re: SAMLSoapBinding.response with exception, Mike Ferraro, 09/20/2004
- RE: SAMLSoapBinding.response with exception, Scott Cantor, 09/20/2004
- Re: SAMLSoapBinding.response with exception, Mike Ferraro, 09/20/2004
- RE: SAMLSoapBinding.response with exception, Scott Cantor, 09/17/2004
- SAMLSoapBinding.response with exception, Mike Ferraro, 09/17/2004
- org.xml.sax.SAXParseException: Content is not allowed in prolog, Jason Pedone, 09/20/2004
- Re: org.xml.sax.SAXParseException: Content is not allowed in prolog, Paul Devine, 09/20/2004
- RE: org.xml.sax.SAXParseException: Content is not allowed in prolog, Scott Cantor, 09/20/2004
- RE: OpenSAML on Websphere/Solaris, Scott Cantor, 09/13/2004
- RE: OpenSAML on Websphere/Solaris, Sanga Viswanathan, 09/13/2004
- RE: OpenSAML on Websphere/Solaris, Scott Cantor, 09/13/2004
Archive powered by MHonArc 2.6.16.