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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content