The Express Logon Feature (ELF) allows a user to run a macro, which securely logs onto a host application without the transmission of a host user ID and password. This macro can also be configured as a start up macro to automatically log on as soon as the session is connected. The host session must be configured for SSL (Secure Socket Layer) with client authentication enabled in order for ELF macro to work.
Follow the steps below to configure your PASSPORT session to work with Express Logon macro:
Configure a PASSPORT session for SSL/TLS security with Client Authentication
Record a macro to log on to the host application using your assigned user ID and password
Edit the recorded macro and make the changes below:
Add line SendELFApplid ("applid") after the Dim statement where "applid" is the Application ID that is defined on the host by your administrator
Replace line SendHostKeys ("userID<ENTER>") with line SendHostKeys (")USR.ID(<ENTER>")
Replace line SendHostKeys ("password<ENTER>") with line SendHostKeys (")PSS.WD(<ENTER>")
Save the macro
Enable Start Up Macro under Communication Setup/Miscellaneous tab (pointing to the recorded macro)
Sample recorded macro before modification:
Sub ZMain()
Dim Text, ret
SendHostKeys ("userID<ENTER>")
ret = WaitForHostUpdate(10)
SendHostKeys ("password<ENTER>")
.
.
End Sub
Sample recorded macro after modification:
Sub ZMain()
Dim Text, ret
ret = SendELFApplid ("tsos0w1") ' where "tsos0w1" is the Application ID
SendHostKeys (")USR.ID(<ENTER>")
ret = WaitForHostUpdate(10)
SendHostKeys (")PSS.WD(<ENTER>")
.
.
End Sub
Related Information:
Start Up Macro
Client Authentication