Skip to Content.
Sympa Menu

mace-opensaml-users - Re: [OpenSAML] Bootstrap Initialization Error

Subject: OpenSAML user discussion

List archive

Re: [OpenSAML] Bootstrap Initialization Error


Chronological Thread 
  • From: lakshmi narasimhan <>
  • To:
  • Subject: Re: [OpenSAML] Bootstrap Initialization Error
  • Date: Wed, 28 Oct 2009 15:09:03 +0000
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=LMJXowyNBNbLVotF86J1Bey7DdYbNaU+EPDpw6VTl3egWW09ilOCtB35Vck7XK/BwC kQg8/GaMNMeTyY5tYGXWC5zNnO9ess5vcVsuQo83R2H5Srsb0/JXidOLEopBXsd3NXOj seETdE2mB+xdfhWckbg2rg0V6olUybxu5W26E=

Hi,
 
Thanks for responding. I'm sending the SAML in a servlet session and then capturing it in a JSP for subsequent processing. I'm also making sure that the input to the Parser is indeed a base64 decoded version of the SAML. I'm printing this Base64 decoded content before sending it to the Parser and it is displaying the correct SAML file. However, I noticed one thing - when the decoded version of the SAML is printed, it looks like the following:
 
P4kmLHVSzGE/t+/1k6E26ZB41bk=bUE1XNW1o6Mjh8sTGzGUG0lk3ANnExHkcdpK4Z7LWher56y0ualJWFLTXtbRKFbSpBjA.......
 
But when I right click and do a 'view source' on this page, it is displaying the decoded SAML content properly(the original content of the SAML)

Please let me know where I could be going wrong. I'm not able to get the document object as a result of parsing. The parsing process doesn't also throw any exceptions/error messages.
 
Thanks,
Laks.
On Wed, Oct 28, 2009 at 2:33 PM, Paul Hethmon <> wrote:
Are you sure you are getting the right input value? You haven’t said exactly what you’re doing here, but if you’re doing the browser SSO profile, then the SAML Response would not normally be there as an attribute, but as a parameter. It’s also not known as “samlToken”.
I'm able to get over the bootstrap initialization problem. However, when I try to parse the Base64-decoded SAML, the document object is coming up as null. Here's the code snippet which I'm using for this purpose:
 
String samlResponseB64Str = (String)session.getAttribute("samlToken"); 



-----
Paul Hethmon
Chief Software Architect
Clareity Security, LLC
865.824.1350 - office
865.250.3517 - mobile
www.clareitysecurity.com
-----

God does not play dice with the universe; He plays an ineffable game of his own devising, which might be compared, from the perspective of any of the other players, to being involved in an obscure and complex version of poker in a pitch dark room, with blank cards, for infinite stakes, with a dealer who won't tell you the rules, and who smiles all the time.

 -- Terry Pratchett, Good Omens





Archive powered by MHonArc 2.6.16.

Top of Page