diff options
Diffstat (limited to 'src/main/java/com/gitblit/LdapUserService.java')
-rw-r--r-- | src/main/java/com/gitblit/LdapUserService.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/com/gitblit/LdapUserService.java b/src/main/java/com/gitblit/LdapUserService.java index e6951b40..5619dadd 100644 --- a/src/main/java/com/gitblit/LdapUserService.java +++ b/src/main/java/com/gitblit/LdapUserService.java @@ -81,10 +81,9 @@ public class LdapUserService extends GitblitUserService { }
@Override
- public void setup(IStoredSettings settings) {
- this.settings = settings;
+ public void setup(IRuntimeManager runtimeManager) {
+ this.settings = runtimeManager.getSettings();
String file = settings.getString(Keys.realm.ldap.backingUserService, "${baseFolder}/users.conf");
- IRuntimeManager runtimeManager = GitBlit.getManager(IRuntimeManager.class);
File realmFile = runtimeManager.getFileOrFolder(file);
serviceImpl = createUserService(realmFile);
|