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, 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