mace-opensaml-users - Extending the opensaml
Subject: OpenSAML user discussion
List archive
- From: HÃ¥kon Tuvin Sagehaug <>
- To:
- Subject: Extending the opensaml
- Date: Mon, 15 Oct 2007 15:30:51 +0200
Hi
I want to extend the saml 2 protocol, but have some problems getting it to work. I have an interface, a class that implements the interface, builder,marshaller and unmarshaller. In
my saml2-protocol-config.xml I have this information(both in the opensaml-src and opensaml-xmltooling):
<ObjectProvider qualifiedName="saml2p:XACMLAuthzDecisionQuery">
<BuilderClass className="org.opensaml.saml2.core.impl.XACMLAuthzDecisionQueryBuilder" />
<MarshallingClass className="org.opensaml.saml2.core.impl.XACMLAuthzDecisionQueryMarshaller" />
<UnmarshallingClass className="org.opensaml.saml2.core.impl.XACMLAuthzDecisionQueryUnmarshaller" />
</ObjectProvider>
<ObjectProvider qualifiedName="saml2p:XACMLAuthzDecisionQueryType">
<BuilderClass className="org.opensaml.saml2.core.impl.XACMLAuthzDecisionQueryBuilder" />
<MarshallingClass className="org.opensaml.saml2.core.impl.XACMLAuthzDecisionQueryMarshaller" />
<UnmarshallingClass className="org.opensaml.saml2.core.impl.XACMLAuthzDecisionQueryUnmarshaller" />
</ObjectProvider>
and here is the error stack I'm getting
Exception in thread "main"
java.lang.NullPointerException
at java.util.concurrent.ConcurrentHashMap.remove(ConcurrentHashMap.java:919)
at org.opensaml.xml.XMLObjectBuilderFactory.deregisterBuilder(XMLObjectBuilderFactory.java:115)
at org.opensaml.xml.Configuration.deregisterObjectProvider(Configuration.java:123)
at org.opensaml.xml.XMLConfigurator.initializeObjectProviders(XMLConfigurator.java:264)
at org.opensaml.xml.XMLConfigurator.load(XMLConfigurator.java:179)
at org.opensaml.xml.XMLConfigurator.load(XMLConfigurator.java:161)
at org.opensaml.xml.XMLConfigurator.load(XMLConfigurator.java:129)
at org.opensaml.DefaultBootstrap.initializeXMLTooling(DefaultBootstrap.java:127)
at org.opensaml.DefaultBootstrap.bootstrap(DefaultBootstrap.java:71)
at opensaml20.test.TestCreateSAML20Assertion.main(TestCreateSAML20Assertion.java:1036)
It looks to me that the builder can not be resolved or something.
Can anyone help me????
--
Håkon Sagehaug
Research Assistant
Parallab
Bergen Center for Computational Science (BCCS)
- Extending the opensaml, HÃ¥kon Tuvin Sagehaug, 10/15/2007
- Re: Extending the opensaml, Manuela Stanica, 10/15/2007
- Re: Extending the opensaml, HÃ¥kon Tuvin Sagehaug, 10/16/2007
- Re: Extending the opensaml, HÃ¥kon Tuvin Sagehaug, 10/16/2007
- Re: Extending the opensaml, Brent Putman, 10/17/2007
- Problem with the configuration, Fátima Milla Olaya, 10/26/2007
- Re: Extending the opensaml, Brent Putman, 10/17/2007
- Re: Extending the opensaml, HÃ¥kon Tuvin Sagehaug, 10/16/2007
- Re: Extending the opensaml, HÃ¥kon Tuvin Sagehaug, 10/16/2007
- Re: Extending the opensaml, Manuela Stanica, 10/15/2007
Archive powered by MHonArc 2.6.16.