Skip to Content.
Sympa Menu

mace-opensaml-users - RE: SAMLException and StatusMessage element

Subject: OpenSAML user discussion

List archive

RE: SAMLException and StatusMessage element


Chronological Thread 
  • 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--




Archive powered by MHonArc 2.6.16.

Top of Page