How do I get javax.crypto classes such as javax.crypto.Cipher to work on a servlet with jboss?
问题 My application validates a license file in order for it to work. It does this by calling javax.crypto.Cipher.getInstance("DES","SunJCE") inorder to decipher the license key file. When I run my application locally everything works fine but when I deploy my application with jboss and get to the point where I want to validate the license file on the servlet, I get the following error: java.lang.SecurityException: JCE cannot authenticate the provider SunJCE at javax.crypto.Cipher.getInstance