A java.security.NoSuchAlgorithmException occurs when setting a hash algorithm in Seam security in JBoss EAP 5.
Issue
A java.security.NoSuchAlgorithmException occurs when setting a hash algorithm in Seam security in JBoss EAP 5.
Exception:
Caused by: java.security.NoSuchAlgorithmException: SHA-512 SecretKeyFactory not available
at javax.crypto.SecretKeyFactory.<init>(DashoA13*..)
at javax.crypto.SecretKeyFactory.getInstance(DashoA13*..)
at org.jboss.seam.security.management.PasswordHash.createPasswordKey(PasswordHash.java:117)
Environment
- Red Hat JBoss Enterprise Application Platform (EAP) 5
- Seam 2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.