mace-opensaml-users - RE: SAMLException and StatusMessage element
Subject: OpenSAML user discussion
List archive
- From: Scott Cantor <>
- To: ,
- Subject: RE: SAMLException and StatusMessage element
- Date: Thu, 10 Apr 2003 17:54:33 -0400
- Importance: Normal
- Organization: The Ohio State University
> I don't want to set a StatusMessage value. My code
> uses
>
> new SAMLException( SAMLException.SUCCESS, "")
> in a new SAMLResponse(..) constructor
>
> the "" indicates the status message and is converted
> to <StatusMessage /> in toDOM(..). I recommend that
> the element is not created if the value is "" (however
> a null check is performed).
I fixed this on both ends (checking for an empty element, since that's
permitted, and not creating the node).
I'll also add constructors when I have time that accept just the code. I
didn't think of that as a useful case originally, but
that's very old code, and clearly it's needed.
-- Scott
---------------------------------------------------mace-opensaml-users-+
For list utilities, archives, subscribe, unsubscribe, etc. please visit the
ListProc web interface at
http://archives.internet2.edu/
---------------------------------------------------mace-opensaml-users--
- SAMLException and StatusMessage element, mochamaster, 04/10/2003
- RE: SAMLException and StatusMessage element, Scott Cantor, 04/10/2003
- <Possible follow-up(s)>
- Fwd: SAMLException and StatusMessage element, mochamaster, 04/10/2003
Archive powered by MHonArc 2.6.16.