# The SSO Config file includes location of the encrypted credentials as well as
# Screen identification for the different hosts
# A Host section starts with HostName= and ends with a blank line
# This sample is for logging onto an AS400/IBMi with generic credentials and entering a command with
# a passed parameter using the SSO Message API by a parent web window
CredentialsPath=d:\secureData\inventu\security\credentials
CredentialsLogPath=e:\logs\inventu\security\log
CredentialsManaged=false
GenericUser=*
HostName=Host1
ScreenName=Signon
Recog=1,36,Sign On
WhenState=Logon1
PutScreen=HostID,2,22
PutScreen=HostPW,3,22
Enter=[enter]
SetState=Logon2
WhenState=* #If return to signon, get-out which will alert parent
Disconnect=Yes
SetState=Exit
ScreenName=PgmMessages
Recog=1,28,Display Program Messages
WhenState=Logon2 #enter-through if during logon
Enter=[enter]
ScreenName=Messages
Recog=1,33,Display Messages
WhenState=Logon2 #enter-through if during logon
Enter=[enter]
ScreenName=SignonInfo
Recog=1,31,Sign-on Information
WhenState=Logon2 #enter-through is during logon
Enter=[enter]
ScreenName=Command
Recog=19,2,Selection
Recog=20,2,===>
WhenState=Logon2
PutScreen="{{logonCommand}} {{logonParm1}}",20,7 #Passed by Parent can change job to user
Enter=[enter]
SetState=LoggedOn