JBoss and BouncyCastleProvider – SecurityException : “cannot authenticate the provider”

Are you having problems trying to use the BouncyCastleProvider from your app on Jboss 5.x + (i.e. like the errors listed below)? If so and you don't want to spend hours trying to workaround this issue in Jboss, just follow this guy's instructions and get back to business: http://www.randombugs.com/java/javalangsecurityexception-jce-authenticate-provider-bc.html Some background regarding this Jboss issue … Continue reading JBoss and BouncyCastleProvider – SecurityException : “cannot authenticate the provider”

Simplified Java encryption with Jasypt

Recently I had to evaluate an older encryption service that existed in an Java app. The service was written in the early days when the JCE was relatively new and it used BouncyCastle as the provider. While coded quite well the service had code which handled all sorts of the low level JCE stuff like … Continue reading Simplified Java encryption with Jasypt