Skip to Content.
Sympa Menu

mace-opensaml-users - Re: [OpenSAML] NPE whil loading IDP metadata

Subject: OpenSAML user discussion

List archive

Re: [OpenSAML] NPE whil loading IDP metadata


Chronological Thread 
  • From: Brent Putman <>
  • To:
  • Subject: Re: [OpenSAML] NPE whil loading IDP metadata
  • Date: Mon, 07 Feb 2011 11:45:53 -0500



On 2/7/11 1:04 AM, Kobe Bryant wrote:
 

I am trying to implement a programmable validation of my SAML2 federation from the service provider.

As a first step I am trying to validate the IDP's metadata using OpenSAML using the loadMetaData() procedure

listed at

 

    http://www.koders.com/java/fid8702140665B6889A85CC1A3311A25C7A0A98C726.aspx?s=base64#L159.



It's probably unrelated to your question, but that code has some problems with respect to both API usage and SAML metadata processing.  It will "work" if you make enough assumptions, which probably hold in someone's particular environment, but will break in others. 



 

 

I am unfortunately get a Null Ptr Exception when unmarshalling the metadata very similar to that reported at

   

     http://shibboleth.1660669.n2.nabble.com/Unable-to-unmarshall-metadata-td2863883.html




The metadata providers have changed significantly since that post, but also: a casual glance suggests that your problem isn't his (he had omitted some namespace decls in the metadata document).  We would need to see at least the NPE stack trace itself, and preferrably the relevant logging output on debug, in order to give you any real guidance.





Archive powered by MHonArc 2.6.16.

Top of Page