Skip to Content.
Sympa Menu

mace-opensaml-users - Error while creating AssertionIDRequestBuilder

Subject: OpenSAML user discussion

List archive

Error while creating AssertionIDRequestBuilder


Chronological Thread 
  • From: "Sumit Shah" <>
  • To: <>
  • Subject: Error while creating AssertionIDRequestBuilder
  • Date: Wed, 31 May 2006 18:29:55 -0400

All,

 

I am trying to create AssertionIDRequest using the AssertionIDRequestBuilder. I get a NullPointerException while trying to build the object.

 

Here is the code snippet:

 

XMLObjectBuilderFactory builderFactory = Configuration.getBuilderFactory();

AssertionIDRequestBuilder builder = (AssertionIDRequestBuilder) builderFactory.getBuilder(AssertionIDRequest.DEFAULT_ELEMENT_NAME);

AssertionIDRequest assertionIDRequest= builder.buildObject();

 

 

Upon debugging, I checked that the factory contains “AssertionIDRequest” as the key. But, builderFactory.getBuilder(AssertionIDRequest.DEFAULT_ELEMENT_NAME) returns a NULL value.

 

I would appreciate any pointers on how to go about creating an AssertionIDRequest.

 

Thanks

Sumit

      




Archive powered by MHonArc 2.6.16.

Top of Page