Has
anybody managed to get an application that uses the Apache XML Security library
successfully running in WebSphere Application Server (v 5.1 ideally, although if
you've done this in earlier versions of WebSphere I'd still like to hear from
you).
In
particular: which implementation classes of the crypto algorithms did you
use? IBM's or SUN's ?
If you
can provide some guidelines on how you configured this it would be much
appreciated. I'm stuck and can't make any progress until I get this
resolved.
I
presume I need to edit org/apache/xml/security/resource/config.xml to specify
JCE algorithm mappings for IBM (which I don't know how to do), or alternatively
deploy a library that includes sun.security.provider.Sun and any other classes required to
use Sun's implementation classes for the algorithms.
If the latter is
the eaiser way to go, which library should I deploy? FYI: In Sun's JDK
1.4.2, the class sun.security.provider.Sun is located in
[java_home]/jre/lib/rt.jar. IBM's JDK 1.4.1 that comes with
WebSphere doesn't have an rt.jar, but it does have
[java_home]/jre/lib/security.jar which does include several classes from
the sun.security.provider package, but not the all important sun.security.provider.Sun
class.
Thanks very much ...
Steve