Skip to Content.
Sympa Menu

mace-opensaml-users - Re: [OpenSAML] Opensaml issue

Subject: OpenSAML user discussion

List archive

Re: [OpenSAML] Opensaml issue


Chronological Thread 
  • From: Wim Vandenhaute <>
  • To:
  • Subject: Re: [OpenSAML] Opensaml issue
  • Date: Wed, 18 Feb 2009 15:21:32 +0100
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type:mime-version:subject :date:references:x-mailer; b=Ig6bh2Xi6KtVBoxZSLSYhyBrq2qrLZxOZrXuzpOngp+mJChmGn+1MFJDtOn60gAwV9 BdRs4R/ZShLTTFIuuvELh7SkVMPeL8c7zVM4bSCi/VgcMdhqXMqmjYY/1RaWHzBW3rWG p8ucJ9taZ1L5rUOwWD3EN9iWRincGpS1m268g=

You have probably forgot to bootstrap:

DefaultBootstrap.bootstrap();

This initializes the opensaml marshallers and unmarshallers.

On 18 Feb 2009, at 15:19, wrote:


Hi,

Am trying to work with opensaml 2.2.3. When i use the same jar in my application and try to create assertion, am able to get the assertion object as java object but when try to marshall it using the MarshallerFactory, am getting nullpointerException.

SampleCode :

MarshallerFactory marshallerFactory = Configuration.getMarshallerFactory();
Marshaller marshaller = marshallerFactory.getMarshaller(assertion);

In the above sample, i get the marshaller object as null.

Would be great if someone can help me out resolving this issue.

Note: Apart from the jars available in the opensaml2.2.3 zip, i have included slf4j-simple-1.5.5 jar when i was getting the error "java.lang.NoClassDefFoundError: org/slf4j/impl/StaticLoggerBinder".

Thanks in advance.
________________________
Sreeranjani Rajendran
Distributed Application Security Framework
iNautix Technologies India Private Limited, an affiliate of Pershing LLC, a subsidiary of The Bank of New York Mellon Corporation
http://www.inautix.co.in
Office: VOIP - 2507
Email:

Go Green. Think before you print.



  • Opensaml issue, srrajendran, 02/18/2009
    • Re: [OpenSAML] Opensaml issue, Wim Vandenhaute, 02/18/2009

Archive powered by MHonArc 2.6.16.

Top of Page