[Deployment]: Windows Active Directory integration

Below are the steps for AD configuration in the domain manager.

Start Ambience Server using run-server.bat/run server.sh and login to Domain Manager in the web application.

1/ Go to module>usergroupdb>ldap> change to:

{“version”:1,“connectionFactory”:“com.elixirtech.arch.usergroup.ldap.DefaultLDAPConnectionFactory”,“cxtFactory”:“com.sun.jndi.ldap.LdapCtxFactory”,“host”:“change the ip address here”,“port”:389,“protocol”:“default”,“method”:“simple”,“user”:“CN=Administrator,CN=Users,DC=elixir,DC=com,DC=sg”,“passwordEncrypted”:“8Oz2e9XJ+Grd396E4QK91Q==”}

2/ Go to module>usergroupdb>ldap>admingroups>

[{“name”:“OU=amb_groups,DC=elixir,DC=com,DC=sg”,“mode”:“subtree”,“filter”:“CN=Atlas”,“returnAttr”:“CN”,“focus”:{“left”:“CN”}},{“name”:“OU=bbc_groups,DC=elixir,DC=com,DC=sg”,“mode”:“subtree”,“filter”:“CN=bbc2”,“returnAttr”:“CN”,“focus”:{“left”:“CN”}},{“name”:“OU=fawlty_groups,DC=elixir,DC=com,DC=sg”,“mode”:“subtree”,“filter”:“CN=towers”,“returnAttr”:“CN”,“focus”:{“left”:“CN”}}]

3/ Go to module>usergroupdb>ldap>groups>

[{“name”:“OU=amb_groups,DC=elixir,DC=com,DC=sg”,“mode”:“one-level”,“returnAttr”:“member”,“focus”:{“left”:“CN”,“right”:“CN”}},{“name”:“OU=bbc_groups,DC=elixir,DC=com,DC=sg”,“mode”:“one-level”,“returnAttr”:“member”,“focus”:{“left”:“CN”,“right”:“CN”}},{“name”:“OU=fawlty_groups,DC=elixir,DC=com,DC=sg”,“mode”:“one-level”,“returnAttr”:“member”,“focus”:{“left”:“CN”,“right”:“CN”}}]

4/ module>usergroupdb>ldap>users>

[{“name”:“OU=amb_users,DC=elixir,DC=com,DC=sg”,“mode”:“one-level”,“returnAttr”:“CN”,“focus”:{“left”:“CN”}},{“name”:“OU=bbc_users,DC=elixir,DC=com,DC=sg”,“mode”:“one-level”,“returnAttr”:“CN”,“focus”:{“left”:“CN”}},{“name”:“OU=fawlty_users,DC=elixir,DC=com,DC=sg”,“mode”:“one-level”,“returnAttr”:“CN”,“focus”:{“left”:“CN”}}]

5/ module>usergroupdb>function>SignIn (enter the corresponding user name)

{“name”:“SignIn”,“description”:“Allows sign-in to Elixir Ambience”,“users”:[“aimi”,“terryj”,“admin”,“bob”]}

6/Add the following line to the run-server.bat in \bin:

vmarg.5=-Delixir.usergroup.factory=com.elixirtech.arch.usergroup.ldap.LDAPUserGroupDomainFactory

Once finished, restart the server and access to Ambience Web, you should now be able to logon using different sets of userids. For example:

Username:aimi, Password:aimi
Username:terryj, Password:terryj