Show/Hide Toolbars

Inventu Viewer+ Single Signon Server Extension

Navigation: Example Configuration Scripts

AS400/IBMi Zero Admin SSO

Scroll Prev Top Next More

# 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

CredentialsPath=d:\secureData\inventu\security\credentials

CredentialsLogPath=e:\logs\inventu\security\log

#**** HOSTS WEST400, EAST400, SA400 ***************

# Each host covers a different territory but has the same screens

HostNames=WEST400,EAST400,SA400

#**** SCREEN Signon

ScreenName=Signon

 Recog=1,36,Sign On

 WhenState=Logon1  # Credentials were found so ready to go

  PutScreen=HostID,2,24

  PutScreen=HostPW,3,24

  Enter=[enter]

  SetState=Logon2

 WhenState=Logon2  # User entries didn't work

  GetMessage=24,1,80

  SetState=Exit

 WhenState=Capture.In  # User has entered the HostID/HostPW

  SetField=HostID,2,24

  SetField=HostPW,3,24

  SetState=CapturedPW

 WhenState=CapturedPW

  SetState=Capture

#******** SCREEN PW Expired

ScreenName=PWExpired

 Recog=3,2,PASSWORD HAS EXPIRED

 Recog=21,2,PRESS ENTER TO CHANGE YOUR PASSWORD

 WhenState=Logon2  # Normal right after Signon

  Enter=[enter]

  SetState=NewPW

 WhenState=CapturedPW

  Enter=[enter]

  SetState=NewPW

#******* SCREEN PW Change

ScreenName=PWChange

 Recog=1,32,CHANGE PASSWORD

 WhenState=NewPW

  PutScreen=HostPW,9,47

  SetField=NewPW,@GenPW(10,'!#$')  #10 characters !,# and $

  PutScreen=NewPW,12,47

  PutScreen=NewPW,15,47

  Enter=[enter]

  SetState=CapturedNewPW

 WhenState=CapturedNewPW.In  # rejected the PW so user is doing it

  SetField=HostPW,12,47

# Screen ANY will always be recognized as no Recog keys

ScreenName=Any

 WhenState=CapturedPW

  SaveCredentials=HostID,HostPW

  SetField=Running,no

  SetState=Exit

 WhenState=CapturedNewPW

  SaveCredentials=HostID,NewPW,true

  SetState=Exit

 WhenState=*

  SetState=Exit