On 01/07/2011 05:27 AM, Mike wrote:
I ran this in groovy:
println(javax.crypto.Cipher.getInstance("DES/CBC/PKCS5Padding").getProvider().toString()
+ "\n" +
javax.crypto.Cipher.getInstance("DES/CBC/PKCS5Padding").getProvider().getClass().getName());
and got this:
SunJCE version 1.6
com.sun.crypto.provider.SunJCE
So I wrote a little java program that did the same thing, and got the same
result.
Then, I wrote a little web app and deployed it on my server, and I got the
result that Xwiki is giving me.
So, obviously something is lacking from my server's classpath. However, I'm
not smart enough to track down exactly what it is that is missing -- I don't
know how to find out from where a given class is being resolved.
Can you run this in your server:
System.out.println(System.getProperty("java.vm.vendor") + " " +
System.getProperty("java.vm.name") + " " +
System.getProperty("java.vm.version"));
A clue for the clueless would be gratefully received.
Many thanks.
Regards,
Mike
On Thu, Jan 6, 2011 at 8:04 PM, Caleb James DeLisle<
calebdelisle(a)lavabit.com> wrote:
println(javax.crypto.Cipher.getProvider().toString() + "\n" +
javax.crypto.Cipher.getProvider().getClass().getName());
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Sergiu Dumitriu
http://purl.org/net/sergiu/