[FIXED HUDSON-2256] DeferredCreationLdapAuthoritiesPopulator was deprecated

in 1.280, so the groupSearchFilter used there was lost.  Moved this to
groovy file so the uniqueMember query works again, and changed {0} to {1}
in the memberUid query to fix that one.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16009 71c3de6d-444a-0410-be80-ed276b4c234a

Originally-Committed-As: 701805226e77a3cbc90c9ca396ccdaf6145cacef
This commit is contained in:
mindless 2009-03-04 20:09:03 +00:00
parent fddcb63fe6
commit 922624d215

View file

@ -64,6 +64,7 @@ bindAuthenticator(BindAuthenticator2,initialDirContextFactory) {
authoritiesPopulator(AuthoritiesPopulatorImpl, initialDirContextFactory, Util.fixNull(instance.groupSearchBase)) {
// see DefaultLdapAuthoritiesPopulator for other possible configurations
searchSubtree = true;
groupSearchFilter = "(| (member={0}) (uniqueMember={0}) (memberUid={1}))";
}
authenticationManager(ProviderManager) {
@ -82,4 +83,4 @@ authenticationManager(ProviderManager) {
key = "anonymous"
}
]
}
}