Two Laptop Bag
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
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).

I agree. Here's the link:
subject: Fail to read JAASAuthData password
It's not a secret anymore!