SecureLogin prompts with a PickList of which credentials to use after user adds another login using the New Login wizard

  • 7940415
  • 19-Aug-2009
  • 26-Apr-2012

Environment

Novell SecureLogin
SSO

Situation

When a user has multiple logins to an application. They can use the "New Login Wizard" to add a second login. When they access the application they are presented with a list of credentials that a user can use to login.  However, when they change the password or a login fails, the user is presented with the PickList again and must select the user they are logging on as again.  This can cause some confusion.

Resolution

NSL can use the ReLoadPlat command to automatically set the credentials.  By modifying the application definition with the command ReLoadPlat in the appropriate places, SecureLogin automatically sets the focus of any operation to the last credentials selected in the PickList.

(Note: ReLoadPlat must be added to all relevant sections of the application definition);

#====================================# 
# Application: Finance.Exe #
# Description: Finance System #
# Type: Windows # # #
#====================================#
#======================================================================# 
# Restrict ?NewPwd so only new passwords ever have the policy enforced #
#======================================================================#
RestrictVariable ?NewPwd FinancePwdPolicy
#================# 
# Logon Prompt #
#================#
Dialog
Class ""#32770""
Title ""Login""
EndDialog
SetPrompt ""Username ===>""
Type $Username #1001
SetPrompt ""Password ===>""
Type $Password #1002
SetPrompt ""Domain ===>""
Type $Domain #1003
Click #1

SetPrompt ""Please enter your credentials to logon to the Finance System.""

#=========================# 
# Change Password Prompt #
#=========================#
Dialog
Class ""#32770""
Title ""Change Password""
EndDialog
#=========================================================================================# 
# Automatically set the credentials to the “last used” set for users with multiple logins #
#=========================================================================================#
ReLoadPlat
#======================================================# 
# Enter the Username and current Password, as required #
#======================================================#
Type $Username #1015
Type $Password #1004
Type ?NewPwd #1005
Type ?NewPwd #1006
Click #1
#====================================# 
# Change Password Successful Message #
# Set the $Password #
#====================================#
Dialog
Title ""Change Successful""
Class #32770
EndDialog
ReLoadPlat 
Set $Password ?NewPwd
#=============================================================# 
# Login Failure Message #
# Prompt the user to verify their credentials and retry logon #
#=============================================================#
Dialog
Title ""Login Failure""
Class #32770
EndDialog
ReLoadPlat 
DisplayVariables ""The Username and/or Password is invalid."" $Username $Password
Click #2
Type $Username
Type $Password
Type “\N”