This article describes how to customize the Airlock Configuration Center Authentication for Airlock Gateway, e.g. to attach an external LDAP user directory. Use the manual of the Airlock Authentication Service for reference.
To customize the Airlock Authentication Service, follow these instructions:
Either copy the actual file "authenticator.properties" from directory "/opt/airlock/mgt-tomcat/webapps/auth/WEB-INF/classes" to "/opt/airlock/custom-settings/mgt-auth/"
or
Download the appropriate file "authenticator.properties" attached to this document and upload it to "/opt/airlock/custom-settings/mgt-auth/" e.g. with WinSCP as root.
Edit and customize the file "authenticator.properties" e.g. for authenticate on LDAP Server. Have a look on section "Example" below.
Set permissions on the file with following commands as user root:
# chown fown:alec authenticator.properties
# chmod 040 authenticator.properties
To activate the new configuration, use a root shell and restart the corresponding service:
# systemctl restart airlock-mgt-tomcat
Check if service is running with the following command:
# systemctl status airlock-mgt-tomcat
Manually backup the customized file /opt/airlock/custom-settings/mgt-auth/authenticator.properties".
An example, which combines local and LDAP users, is attached in authenticator.properties. Change the placeholders like "<text>" with the corresponding value.
The example is not able to change a users password out of the Airlock configuration center.
Attachment | Size |
---|---|
Example for using local users and Active Directory | 7.06 KB |
Example for using local users and LDAP | 7.01 KB |
Example for using local users and RADIUS | 7.42 KB |