A java.security.NoSuchAlgorithmException occurs when setting a hash algorithm in Seam security in JBoss EAP 5.

Solution Verified - Updated -

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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In