NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

password re-use

Hi,

I have a situation where I need to start using the user priveledges to enforce some protections it offers, due to our end users changing.  We also  use source control, perforce, and my application does some automated source code control operations in teststand.   This perforce interaction requires a user/password combination itself.

I am trying to get away with using one user/password combination, shared by both teststand, and perforce.  I can accomplish this if I were able to read the teststand user password un-encrypted, then I could just use that in the automated perforce operations.  But it does not seem possible to programmatically read the password unencrypted, or is it? 

Also, I was trying to find where the callback happens that displays the prompt for user priveledges when you first start teststand.  One way I was thinking is just to modify this, or use my own, which replicates it's functionality but removes the encryption.  I searched the posts but couldn't find anything exactly relevant.  Would this be possible?

 

Thanks

David J.

0 Kudos
Message 1 of 2
(2,724 Views)

I'm pretty sure you cannot get the pword un-encrypted.  However, you can change the front-end callback to user your own passwords.

 

In the <TestStand>/Components/Callbacks/FrontEnd folder there is a sequence file called FrontEndCallbacks.seq.  It contains a sequence called LoginLogout.  That is what gets called when you start TestStand.  You can modify that to meet your needs.

 

Hopefully this helps,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 2 of 2
(2,720 Views)