Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) 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).

Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!