Can I configure SecureLogin to automatically read the user’s Active Directory username and password? I have an application that always uses the ADS password

  • 7940271
  • 19-Aug-2009
  • 17-Jan-2014

Environment

SecureLogin
SecureLogin SSO
All Versions


Situation

Question

Can I configure SecureLogin to automatically read the user’s Active Directory username and password? I have an application that always uses the ADS password.

Resolution

Answer

In a Microsoft Directory environment, SecureLogin can reference a number of internal variables using SLCREDMAN.DLL. SLCREDMAN.DLL reads the Active Directory username and password the user enters into the Microsoft GINA.

Once SecureLogin is installed, the following can be referenced in an ADS environment.

  • ?SysUser(System) returns the ADS username
  • ?SysPassword(System) returns the ADS password

In the example below, the user won’t be prompted for their password to the application, SecureLogin will automatically read and enter their ADS logon credentials.

#================# 
# Logon Prompt # 
#================# 
Dialog 
Title ""Login""
Class ""#32770"" 
EndDialog 
ype ?SysUser(System) #1001 
Type ?SysPassword(System) #1003 
Click #1