[JBoss-user] [Security & JAAS/JBoss] - Re: Using JCE crypto in EJBs

2006-07-10 Thread wussykye
Sohil, I'm not accessing the cacerts file explicitly, I'm calling JCE KeyGenerator to create a key. When I call KeyGenerator.getInstance("DES"), I get the SecurityException when I'm running in container. I don't get this exception while running out of container. As far as I can tell, I'm us

[JBoss-user] [Security & JAAS/JBoss] - Using JCE crypto in EJBs

2006-07-09 Thread wussykye
My application uses encryption for storing info in it's tables. When I run the encryption code outside of JBoss, it works fine. When it is called in an EJB, there is a SecurityException thrown with a message about "Cannot locate policy or framework files!" and "Cannot set up certs for trusted