The various phases unfold as follows:
1 - The user logs in (under Windows, for example with 'john_doe'; in Web mode because the NTLM layer recovers the account).
2 - The user opens a SAFE X" software session by double-clicking on the launch icon (or by clicking on a hyperlink). In client-server mode, the connection window opens (at least the first time! by clicking on the box "use these parameters for the next connection", the connection box will no longer be displayed then, except when pressing the [Shift] key during the launching).
3 - If it is set in client-server mode, the user enters his/her user code as it is known in the software. The code can be JOHN, DOE, ADMIN, or any other code, but if the user wants to implement the SSO, the user code has to be JOHN_DOE.
4 - The software checks that JOHN_DOE exists in the user table (the field tested is the Login field in the user table). For instance, this code corresponds to the user code JOHND. The code JOHND (5 characters maximum) is stored in all the tables in which the AUS data type is used.
5 - Once the SSO has been activated and the JOHN_DOE code (corresponding to the original login) has been entered, the password control is no longer carried out (it is carried out in a blocking way if the user code does not correspond to the login system).
6 - The system uses then the Reference Active Directory field of the user to inquire the centralized directory (LDAP, Active Directory ... according to the global parameters of supplied connections), and recovers a group of values in return (field values of the user table, setup values at the level of the user). It updates these values in the software if they have been changed in the directory (since the directory is the reference).
To implement the user directory, the following setup values must be entered in the folder.
The setup value SSOCONNECT is used to activate the function SSO / LDAP from X3 (i.e. the connection to the centralized directory).
The possible values are:
The SSODIRECT setup value contains the directory code when the SSOCONNECT setup is active. It refers to the table that defines the directories and the possible connections.
The SSOMAJ setup value (Yes/No) is used to determine if the update of the user record and the user setup values must be carried out at each X3 user connection.
If its value is set to No, and if the other parameters are active, the system will check if the user exists in the directory without triggering the update of parameters and user values at each connection. The update will be carried out in batch mode thanks to the batch task ASSOMAJ which will have to be abandoned.
The setup value SSOPASSWD (Yes/No) is used to force the control (and so to impose the entry) of the password in client-server mode even though the user code entered in the connection box is the same as the user's Windows login.
In Web mode, the control is systematically carried out.
Only one parameter may be modified at users' level.
The parameter value SSODOMAIN, if it is not void, enables the limitation user connection from a given domain. If it is not void, only the user is controlled, not the domain.
The information of a LDAP directory are displayed as a graphical tree.
Each node from the tree is an abstract or real object (an individual, a group of people, a printer, parameters,...).The DN (Distinguished Name) of an object is a way to identify an object in a unique way in the hierarchy.
This first identifier is stored in the user record. The field isAUTILIS.ADDNAM.
A second identifier is set up in the directory and, generally speaking, it is the login.
Below, an example of an LDAP menu. It is required to note that the hierarchies can be defined freely, and that such a directory can reference either users, or groups, or resources (such as printers). Inquiring such a menu is carried out by indicating a search root, and then by requiring a search on the node itself, on its direct descendants, or on all the subtree from the specified root. The starting node and the way to search the information are specified in the directory setup.
Let's consider that the SSO mode is active and that a X3 user is connected for the first time to the SAFE X3 application.
The X3 application, when connecting, checks that the login entered exists in the directory. If yes, the application recovers the DN (Distinguished Name), which is updated in the ADDNAM field of the AUTILIS user table.
If the SSOMAJ setup value is set toYes, all the 'mapped' fields are updated in the user record and in the X3 setup values.
The "Directory" function is used to define the configuration in order for the X3 application to be able to read the information included in the LDAP directory.
A correspondence is carried out between the fields of the user table, the user setup values table and the LDAP directory fields.
The ASSOMAJ task is used to update the users compared with the LDAP directory.
Only the existing users in the AUTILIS table will be updated; this utility does not create new users by reading data from the LDAP directory.
The link is carried out by the DN (Distinguished Name) if it is already entered in the user table. Otherwise, the second identifier set up (generally the login) is used to find the DN.
The structures below describe in detail the different possible cases of connection, as well as the corresponding control procedures.