How to programatically set passowrd for users in JBoss Portal 5 and 6 ?

Solution Verified - Updated -

Issue

  • Written some code that modifies the password for a gatein account. On many occasions however the new password will not be accepted until the server is restarted. I have tested changing the password through my code, and then changing it through the EPP admin login to see if the value of the field stays the same. I can confirm that the hashed version of the password my code is writing is identical to that which the JPP admin system creates.

If I change my password using my code, and this does not work, I then go through the JPP admin system and set the password to exactly the same value. When I commit, the password's text value does not change however the JPP server allows the user to log in using the new password.

Is there any caching of passwords, and if so how can I go about disabling it? I am currently only changing the 'TEXT' column of the 'Jbid_io_creden' table. Is there anything else that needs to be change in order to make the JPP portal aware that the password has changed?

Environment

  • Red Hat JBoss Portal (JPP)
    • 5.2.1
    • 6.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