Re: tomcat4+jdk1.4.1+security providers

2002-10-21 Thread psalazar
I believe that it's true. I have defined in java.security the default providers that come in JDK1.4.1: security.provider.1=sun.security.provider.Sun security.provider.2=com.sun.net.ssl.internal.ssl.Provider security.provider.3=com.sun.rsajca.Provider security.provider.4=com.sun.crypto.provider.Su

Re: tomcat4+jdk1.4.1+security providers

2002-10-21 Thread psalazar
I solved my problem: I didn't put the sunjce_provider.jar in ${tomcat.home}/common/lib/ and I must add the SunJCE provider hardcoded before use the DES algorithm. java.security.Security.addProvider(new com.sun.crypto.provider.SunJCE()); The cool thing would be add the SunJCE provider (or other p

tomcat4+jdk1.4.1+security providers

2002-10-21 Thread psalazar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Greetings, I'm trying to use the security packages that are supported in jdk1.4 (no need of JCE now) in tomcat environment. In a test environment running a class test in a shell, I can access a DES algorithm and use cipher/decipher methods. But whe