public class GlobalAuthServiceConfig extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GlobalAuthServiceConfig.Data |
| Constructor and Description |
|---|
GlobalAuthServiceConfig(ClusterConfigService clusterConfigService,
com.google.common.eventbus.EventBus eventBus,
DBAuthServiceBackendService dbService,
Map<String,AuthServiceBackend.Factory<? extends AuthServiceBackend>> backendFactories,
AuthServiceBackend defaultBackend) |
| Modifier and Type | Method and Description |
|---|---|
Optional<AuthServiceBackend> |
getActiveBackend() |
Optional<AuthServiceBackendDTO> |
getActiveBackendConfig() |
GlobalAuthServiceConfig.Data |
getConfiguration() |
AuthServiceBackend |
getDefaultBackend() |
GlobalAuthServiceConfig.Data |
updateConfiguration(GlobalAuthServiceConfig.Data updatedData) |
@Inject public GlobalAuthServiceConfig(ClusterConfigService clusterConfigService, com.google.common.eventbus.EventBus eventBus, DBAuthServiceBackendService dbService, Map<String,AuthServiceBackend.Factory<? extends AuthServiceBackend>> backendFactories, AuthServiceBackend defaultBackend)
public AuthServiceBackend getDefaultBackend()
public Optional<AuthServiceBackend> getActiveBackend()
public Optional<AuthServiceBackendDTO> getActiveBackendConfig()
public GlobalAuthServiceConfig.Data getConfiguration()
public GlobalAuthServiceConfig.Data updateConfiguration(GlobalAuthServiceConfig.Data updatedData)
Copyright © 2012–2021 Graylog, Inc.. All rights reserved.