...
Front-end - Back-end interaction:
The client sends POST request with AD credentials to the "/web/Login/Login.html" access-point on the PASOE (swat-backend).
PASOE forwards AD credentials to NodeJS (node-main).
NodeJS handles AD authentication, using passport with passport-ldapauth strategy.
Note: node-main is hidden behind PASOE server from the client's perspective.
In order to use ActiveDirectory authentication, the following configuration settings must be present in pasoe-config.xml / OEPAS_config.xml:
...
The property is checked, during the authentication processes, if the current authentication is allowed.
Example for AkiomaUser check:
Code Block | ||||
---|---|---|---|---|
| ||||
METHOD PROTECTED VOID CheckIsAllowedAkiomaUserAuth(): IF LOOKUP("AkiomaUser", SessionManager:AllowedAuthentication) EQ 0 THEN UNDO, THROW NEW Exception("AkiomaUser authentication is disabled!", 1). END METHOD. |
/web/Login/Login.html