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. 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 < [email protected]> wrote:
println(javax.crypto.Cipher.getProvider().toString() + "\n" + javax.crypto.Cipher.getProvider().getClass().getName());