OpenSAML 3 unmarshaller is null


Hi i am currently porting an app to opensaml3 and run into the following issue:

InitializationService.initialize(); ... Unmarshaller unmarshaller = Configuration.getUnmarshallerFactory().getUnmarshaller(qName);

I have replaced the DefaultBootstrap from opensaml2 and previous by the initialize function. Still the factory is returning me null as marshaller. Any idea what is going wrong here?

This is the output from initialize progress:

[main] INFO org.opensaml.core.config.InitializationService - Initializing OpenSAML using the Java Services API [main] INFO org.opensaml.xmlsec.algorithm.AlgorithmRegistry - Algorithm failed runtime support check, will not be usable: http://www.w3.org/2001/04/xmlenc#ripemd160 [main] INFO org.opensaml.xmlsec.algorithm.AlgorithmRegistry - Algorithm failed runtime support check, will not be usable: http://www.w3.org/2001/04/xmldsig-more#hmac-ripemd160 [main] INFO org.opensaml.xmlsec.algorithm.AlgorithmRegistry - Algorithm failed runtime support check, will not be usable: http://www.w3.org/2001/04/xmldsig-more#rsa-ripemd160


I supose you're using opensaml v3 so You should create the UnmarshallerFactory object with the XMLObjectProviderRegistrySupport class like this it works perfectly

UnmarshallerFactory umFactory=XMLObjectProviderRegistrySupport.getUnmarshallerFactory(); Unmarshaller unmarshaller=umFactory.getUnmarshaller(element);


This error is due to lack of algorithm support in your JCE implementation you use. Even if you use BouncyCastle, some algorithms seems to be not supported. Unless you use these algorithms, there is no need to worry about. Installing the JCE unlimited strength jurisdiction policy jars to the jre will resolve this.<br /> Refer: <a href="https://stackoverflow.com/q/9422545/235273" rel="nofollow">Decrypting encrypted assertion using SAML 2.0 in java using OpenSAML</a> as well.


  • how to make my program to wait for a particular thread and also not affecting my GUI's interact
  • how C++ Implicitly convert c style string to a string object?
  • CakePHP 3: change order in dateWidget
  • Why I can't use uniform1f instead of uniform4f for setting a vec4 uniform?
  • New Firebase failed: First argument must be a valid firebase URL and the path can't contain “.”
  • JSON encode and decode on PHP
  • Building Qt project for C++11 standard
  • Angular2 component view does not update on value change via method
  • CakePHP ACL tutorial initDB function warnings
  • Meteor: Do Something On Email Verification Confirmation
  • why overloaded new operator is calling constructor even I am using malloc inside overloading functio
  • ImageMagick, replace semi-transparent white with opaque white
  • how to adjust image in a panel in Java swing?
  • How to rebase a series of branches?
  • Why value captured by reference in lambda is broken? [duplicate]
  • Cannot connect to cassandra from Spark
  • Read text file and split every line in MSBuild
  • C# - Serializing and deserializing static member
  • Java applet as stand-alone Windows application?
  • Possible to stop flickering java tooltip in heavyweight mode?
  • output of program is not same as passed argument
  • Cross-Platform Protobuf Serialization
  • Deserializing XML into class C#
  • Where to put my custom functions in Wordpress?
  • Alternatives to the OPTIONAL fallback SPARQL pattern?
  • Function pointer “assignment from incompatible pointer type” only when using vararg ellipsis
  • Akka Routing: Reply's send to router ends up as dead letters
  • RestKit - RKRequestDelegate does not exist
  • Invalid access key error using credentials redeemed from an amazon open id token
  • Circular dependency while pushing http interceptor
  • SetUp method failed while running tests from teamcity
  • InvalidAuthenticityToken between subdomains when logging in with Rails app
  • WPF Applying a trigger on binding failure
  • Error creating VM instance in Google Compute Engine
  • Understanding cpu registers
  • python draw pie shapes with colour filled
  • unknown Exception android
  • Checking variable from a different class in C#
  • How to Embed XSL into XML
  • UserPrincipal.Current returns apppool on IIS