mirror of
https://github.com/nicolabs/ldap-plugin.git
synced 2025-09-07 05:14:24 +02:00
bug fix
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6763 71c3de6d-444a-0410-be80-ed276b4c234a Originally-Committed-As: 4da8aec86ec27fb5a705553fdcc34d227f7b2db9
This commit is contained in:
parent
376aae67f9
commit
7e6f4aced5
|
@ -6,6 +6,7 @@ import org.acegisecurity.providers.ldap.populator.DefaultLdapAuthoritiesPopulato
|
|||
import org.acegisecurity.ldap.DefaultInitialDirContextFactory
|
||||
import org.acegisecurity.ldap.search.FilterBasedLdapUserSearch
|
||||
import org.acegisecurity.providers.rememberme.RememberMeAuthenticationProvider
|
||||
import hudson.model.Hudson
|
||||
|
||||
/*
|
||||
Configure LDAP as the authentication realm.
|
||||
|
@ -42,7 +43,7 @@ authenticationManager(ProviderManager) {
|
|||
|
||||
// these providers apply everywhere
|
||||
bean(RememberMeAuthenticationProvider) {
|
||||
key = app.getSecretKey();
|
||||
key = Hudson.getInstance().getSecretKey();
|
||||
},
|
||||
// this doesn't mean we allow anonymous access.
|
||||
// we just authenticate anonymous users as such,
|
||||
|
|
Loading…
Reference in a new issue