Repository navigation
CLOUDSTACK-8596 ability to query nested groups for Microsoft AD - #609
Conversation
added a new configuration to select the appropriate ldap implementation incase of microsoft AD enabled nested querying of group members moved LdapUserManager to an interface and added separate implementations for openLdap and microsoft AD Added unit tests
|
cloudstack-pull-rats #88 SUCCESS |
|
cloudstack-pull-requests #786 SUCCESS |
|
cloudstack-pull-analysis #21 SUCCESS |
There was a problem hiding this comment.
Why inject and pass on in the constructor. Do both have usage scenarios?
There was a problem hiding this comment.
constructor initialized ones were used in the unit tests to supply mocks.
the changes in commit ec32ea3 changed gmaven version in ldap plugin which broke running the spock tests from command line. Hence reverting the change until we fix it with the new version.
|
cloudstack-pull-rats #101 SUCCESS |
|
|
@DaanHoogland now you can run the tests from the command line or ide |
|
cloudstack-pull-requests #799 UNSTABLE |
|
cloudstack-pull-analysis #34 ABORTED |
|
@DaanHoogland @abhinandanprateek @Runseb @wilderrodrigues @bhaisaab Can you please review this PR? |
There was a problem hiding this comment.
As part of this change please move all LDAP related config to use the ConfigKey/Configurable mechanism of publishing them. Also is it possible to have multiple ldap providers configured?
There was a problem hiding this comment.
no. multiple providers are not possible.
I havent touched any of the existing configurations as I will be refactoring them along with https://cwiki.apache.org/confluence/display/CLOUDSTACK/WIP%3A+LDAP%3A+Trust+AD+and+Auto+Import
|
Once the comments are addressed, LGTM. |
In LdapUserManagerFactory moved the beans to a map used a Enum for LdapProvider and made the corresponding changes in LdapConfiguration and the callers.
|
cloudstack-pull-rats #115 SUCCESS |
|
cloudstack-pull-requests #813 SUCCESS |
|
ran tests from command line. code looks good. I use eclipse and did not manage to run tests in the ide yet (no problem with the PR). HInts welcome :) 👍 waiting on travis and the analisys builds |
|
to run from eclipse, you need to install Groovy eclipse plugin https://code.google.com/p/spock/wiki/GettingStarted#Eclipse |
|
cloudstack-pull-analysis #48 ABORTED |
|
2 LGTMs and travis is green. I am merging this to master in sometime |
added a new configuration to select the appropriate ldap implementation
incase of microsoft AD enabled nested querying of group members
moved LdapUserManager to an interface and added separate implementations
for openLdap and microsoft AD
Added unit tests for the new code