Password set to a random value when passed through EJB 3 client in EAP 6

Solution Verified - Updated -

Issue

  • In EAP 6, a custom login module is used which implements javax.security.auth.callback.NameCallback and javax.security.auth.callback.PasswordCallback is used with which the user is passed as expected to the NameCallback, however password that is passed to the PasswordCallback is always a "random value" like "0299df2c-620a-4ac6-83d3-50daaa65fb90". Is there a way to receive the Password on the server side in the plain text?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.1.0

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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.