You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wss4j-dev@ws.apache.org by "Wang, Shengke" <Sh...@trizetto.com> on 2008/12/23 15:59:34 UTC

Opensaml2 compatibility

We have an application written using WSS4J. Recently we had to convert
our old opensaml1 code to opensaml2 code in other parts of the
application, thus introducing the opensaml2 jar. This, however, has
caused failures in the parts of the application that use wss4j. Does
anyone know the best approach to solve this problem since support for
wss4j is not coming soon? Thanks. BTW, one of the exceptions is as
follows:
***************************************************************
ERROR crypto.CryptoFactory - Unable to instantiate (1):
org.apache.ws.security.components.crypto.Merlin
java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
	at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorA
ccessorImpl.java:39)
	at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCons
tructorAccessorImpl.java:27)
	at
java.lang.reflect.Constructor.newInstance(Constructor.java:494)
	at
org.apache.ws.security.components.crypto.CryptoFactory.loadClass(CryptoF
actory.java:117)
	at
org.apache.ws.security.components.crypto.CryptoFactory.getInstance(Crypt
oFactory.java:101)
	at
org.apache.ws.security.saml.SAMLIssuerImpl.<init>(SAMLIssuerImpl.java:89
)
	......
****************************************************************
Any help is greatly appreciated.

Shengke Wang @
Trizetto

---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org