i've installed jce and bouncy castle in jre directory and it works.
I don't know why bouncyclastle .jar in WEB-INF/lib doesn't work (i've been using jakarta tomcat 4.1.x and 5.0.x with same results) and in <jre_home>/lib/ext it goes good. Also i changed file java.security to add this line:
security.provider.6=org.bouncycastle.jce.provider.BouncyCastleProvider
When i translate the project from my computer to hosting, could i have any problem with this? what happens if the hosting providers doesn't install the bouncy castle .jar in jvm directories?
Thanks.
El mar, 13 de 09 de 2005 a las 21:24, Granqvist, Hans escribió:
> - The Bouncycastle JAR is not in the Path of the server Web > application. > If WSS4J does not find the Bouncycastle in the Path it is not > initialized and registered. The WSConfig constructor seems to pick up BC provider from classpath, although the silent catch keeps processing. Does this mean the intention is that java.security settings are honored if BC is not found in classpath? (I have been burned by some JVMs that initialize JCA/JCE providers incorrectly if the JAR is picked up from the classpath -- init order is important for some hardware providers, for example -- so I ended up always only using the lib/ext way.) Hans
-- ;-) ____________________________________ Jorge Martin Cuervo Analista Programador Outsourcing Emarketplace deFacto Powered by Standards email <[EMAIL PROTECTED]> voz +34 985 129 820 voz +34 660 026 384 ____________________________________ |
