Skip to Content.
Sympa Menu

mace-opensaml-users - SAMLSOAPBinding modifications

Subject: OpenSAML user discussion

List archive

SAMLSOAPBinding modifications


Chronological Thread 
  • From:
  • To:
  • Subject: SAMLSOAPBinding modifications
  • Date: Thu, 6 Mar 2003 17:14:07 +0100

Hello,

I'm currently implementing the Browser/Artifact SAML Profile between two
web applications.
To get it to work, I had to change the following:

1) Insert 'doc.appendChild(e)' at the beginning of the
org.opensaml.SAMLSOAPBinding.send() method (Envelope element).
Otherwise, I get an NullPointerException in
org.apache.xml.security.utils.XMLUtils.circumventBug2650().

2) Change 'req.getContentType().equals("text/xml")' to
'req.getContentType().startsWith("text/xml")',
because org.opensaml.SAMLSOAPBinding.send() sets the content type to
"text/xml; charset=UTF-8".

3) Change XML.SAML_NS to XML.SAMLP_NS at the beginning of
org.opensaml.SAMLRequest.fromDOM().
Otherwise, I get the message: "SAMLRequest.fromDOM() requires
samlp:Request at root"


What do you think?

Regards,
Chris


---------------------------------------------------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