Handling PasswordCallback: PasswordCredential may not be supported error

Solution Verified - Updated -

Issue

Receiving "PasswordCredential may not be supported error" while establishing connection with Ldap servers to authenticate users in RHDG

2022-03-03 09:16:13,845 TRACE (blocking-thread--p3-t1) [org.wildfly.security] Handling PasswordCallback: PasswordCredential may not be supported
2022-03-03 09:16:13,845 TRACE (blocking-thread--p3-t1) [org.wildfly.security.http.digest] Failed to parse or validate the response org.wildfly.secthenticationMechanism.validateResponse(DigestAuthenticationMechanism.java:219)
at org.wildfly.security.http.digest.DigestAuthenticationMechanism.evaluateRequest(DigestAuthenticationMechanism.java:126)
Caused by: org.wildfly.security.auth.callback.FastUnsupportedCallbackException: javax.security.auth.callback.PasswordCallback@57b79919urity.mechanism.AuthenticationMechanismException: ELY05051: Callback handler does not support credential acquisition
at org.wildfly.security.mechanism.digest.PasswordDigestObtainer.getSaltedPasswordFromPasswordCallback(PasswordDigestObtainer.java:295)
at org.wildfly.security.mechanism.digest.PasswordDigestObtainer.handleUserRealmPasswordCallbacks(PasswordDigestObtainer.java:112)

Environment

  • Redhat datagrid
    • 8.x

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