...
During this stage I did a lot of research. I setup my cloudstack development environment and investigated the current LDAP implementation within Cloudstack.
Along with this I exploded the testing framework developed for Cloudstack.
Midterm review
During the code stage I began to investigate the current LDAP implementation. This includes:
- The user authenticator (plugins/user-authentication/LDAPldap) This allowed the cloudstack login to allow LDAP based users to login once they exist within the cloudstack database.
- LDAPConfig (api/src/org/apache/cloudstack/api/command/admin/LDAPldap/LDAPConfigCmd.java) This exposed a functionality for adding an LDAP configuration. This is detailed over here: https://cloudstack.apache.org/docs/api/apidocs-4.1/root_admin/LDAPConfig.html
This did not allow multiple configurations. - LDAPRemove (api/src/org/apache/cloudstack/api/command/admin/LDAP/LDAPRemoveCmd.java) this allowed for removing the LDAP configuration
- UI features. Global settings -> LDAP configuration allowed for the addition of a single LDAP server using the LDAPConfig command and the removal of an LDAP server using the LDAPRemove command.
...