Skip to Content.
Sympa Menu

mace-opensaml-users - Re: builders problem

Subject: OpenSAML user discussion

List archive

Re: builders problem


Chronological Thread 
  • From: Chad La Joie <>
  • To:
  • Subject: Re: builders problem
  • Date: Wed, 16 Aug 2006 15:35:19 -0400

Please review the OpenSAML 2 user documentation on configuring the library.

https://authdev.it.ohio-state.edu/twiki/bin/view/Shibboleth/OSTwoUsrManJavaLibIntro

Also, please be aware that OpenSAML2 does not yet have a final version released and so changes may occur to the API. While we greatly appreciate people trying out the code and providing feedback we are currently discouraging people from trying to use this code in production systems.


wrote:
Hello,

I am currently trying to implement opensaml2 in a project.
I get some problems with all the builders.
For example, with this code :


XMLObjectBuilderFactory builderFactory = Configuration.getBuilderFactory();

AssertionBuilder asserBuild = (AssertionBuilder)
builderFactory.getBuilder(Assertion.DEFAULT_ELEMENT_NAME);

Assertion saml2Assertion = asserBuild.buildObject();


I get a java.lang.NullPointerException, and when I check the value of
asserBuild it gives me null.
I get this problem with all the builders (subject, issuer...).

I saw someone who got the same problem here with an issuerBuilder, but didn't
find any solution from that. It seems that the libraries are correctly
installed and Eclipe doesn't tell me that there is a problem in the code.

If anyone has a solution...
Thank you in advance.

Julien Noizet



Archive powered by MHonArc 2.6.16.

Top of Page