This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Websphere and the fly likes Fail to read JAASAuthData password Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Fail to read JAASAuthData password" Watch "Fail to read JAASAuthData password" New topic

Fail to read JAASAuthData password

Henrik Wetterström

Joined: Feb 19, 2009
Posts: 1


I have created jython scripts for backup, restore and moving around various items in a Websphere 6.1 environment.
This far I have not been able to read out any passwords (neither cleartext or xor) for JAAS Authdata or Datasource V4 users.
The passwords are always returned as asterisks. I suspects that some security mechanism is behind this and I wonder if there are a way around this.

The example jython script below extract the passwords for all JAAS auth users and prints them as asterisks.
I would like it to print the password either as clear text or in the encrypted form. Can it be done?

I rather do it within jython than parsing the resource.xml file(s).

jQuery in Action, 2nd edition
subject: Fail to read JAASAuthData password