cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
mgaredia
Level 4

Retreive Password from password control

I am asking for username/password in a simple Dialog. I am using "Password Field" for password. I am retreiving password using $V(Variable_TypedPasswordXX). But somehow I get encrypted value instead of
real password. How do I get password unencrypted/unhashed?

Or Is there any way you can decrypt the password again?
Labels (1)
0 Kudos
(1) Reply
mgaredia
Level 4

Ok found the solution!

Go to your Dialog then swing events. Select your dialog in Context and goto Event "queryExit" and add

ISPasswordControl pwc = (ISPasswordControl)
arg0.getISPanel().getControl("ISPasswordControlDef1");

try{
arg0.getServices().getISDatabase().setVariableValue("password", pwc.getText());
}catch (Throwable e){
e.printStackTrace();
}

just as mentioned in help files. Search for "hashed"
0 Kudos