![]() ![]() |
For the purposes of the script language, a variable is any identifier preceded by one of the characters %, $ or !. This identifier is called the variable prefix (for example, %CN, $username and !default). At run time, these identifiers are substituted for their values, which the script parser works out on each run.
The variable prefix determines the type of the value and the steps that should be taken to determine it. The three variable types are Directory Attribute (%), Symbol Table ($), and Vasco Pass Ticket (!).
SecureLogin supports a list of internal variables that the script language may used to
This type of variable is prefixed by the % character. It instructs the parser to read a value from the current User's object in NDS eDirectory.
The attribute read must be a string, either case sensitive or not case sensitive. The attribute is read each time that the script is run.
A variable prefixed with the $ character is looked up in the current application entry.
If the value that was substituted also has a $ as its first character, that value is also run through the substitution engine. However, this process only occurs once.
If the symbol is not found in the current application, the user is prompted with a dialog box to enter the variable's value.
If the user enters a value, it is substituted immediately and the value is saved.
The ! character specifies that a one-time password should be generated.
To generate a passticket, a DES key and offset are required. At run time, the parser looks for the variables DESKEY and DESOFFSET in the platform specified as the rest of the variable identifier.
For example, the variable !Passticket looks for the variables DESKEY and DESOFFSET in the Passticket platform. The special identifier !default reads these variables from the current platform.
If either DESKEY or DESOFFSET is not found, random values are generated and saved in the designated platform.
Each platform script has an associated symbol table. A symbol table is referenced by its platform name and contains a list of variables and values that can be used in the script.
![]() ![]() |