This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Retreive Password from password control
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 13, 2006
11:16 AM
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?
real password. How do I get password unencrypted/unhashed?
Or Is there any way you can decrypt the password again?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 13, 2006
12:48 PM
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"
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"