Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Fail to read JAASAuthData password

Henrik Wetterström
Posts: 1
Java MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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).

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic