Skip to Content.
Sympa Menu

mace-opensaml-users - OpenSAML 2.2.3 general usage

Subject: OpenSAML user discussion

List archive

OpenSAML 2.2.3 general usage


Chronological Thread 
  • From: Neill Miller <>
  • To:
  • Subject: OpenSAML 2.2.3 general usage
  • Date: Fri, 30 Jan 2009 15:25:22 -0600 (CST)

Hello,

I'm trying to work with OpenSAML 2.2.3 (the Java API) and I wanted to know if
all applications using SAML2 need to be bootstrapped (i.e. extend
DefaultBootstrap and call the bootstrap method). I get this error when I
call it:

org.opensaml.xml.ConfigurationException: Can not create instance of
org.opensaml.xml.schema.impl.XSAnyBuilder
at
org.opensaml.xml.XMLConfigurator.createClassInstance(XMLConfigurator.java:359)
at
org.opensaml.xml.XMLConfigurator.initializeObjectProviders(XMLConfigurator.java:235)
at org.opensaml.xml.XMLConfigurator.load(XMLConfigurator.java:181)
at org.opensaml.xml.XMLConfigurator.load(XMLConfigurator.java:165)
at org.opensaml.xml.XMLConfigurator.load(XMLConfigurator.java:142)
at
org.opensaml.DefaultBootstrap.initializeXMLTooling(DefaultBootstrap.java:143)
at org.opensaml.DefaultBootstrap.bootstrap(DefaultBootstrap.java:83)
at SAMLTest.bootstrap(SAMLTest.java:86)
at SAMLTest.main(SAMLTest.java:168)
Caused by: java.lang.NullPointerException
at
org.opensaml.xml.XMLConfigurator.createClassInstance(XMLConfigurator.java:354)
... 8 more

Aside from the test cases in the source tree, are there any recommended code
samples of using SAML2 in various ways?

thanks,
-Neill.



Archive powered by MHonArc 2.6.16.

Top of Page