public class CoordinatorBasicAuthenticatorCacheNotifier extends Object implements BasicAuthenticatorCacheNotifier
Constructor and Description |
---|
CoordinatorBasicAuthenticatorCacheNotifier(AuthenticatorMapper authenticatorMapper,
DruidNodeDiscoveryProvider discoveryProvider,
HttpClient httpClient) |
Modifier and Type | Method and Description |
---|---|
void |
addUpdate(String updatedAuthorizerPrefix,
byte[] updatedUserMap)
Send the user map state contained in updatedUserMap to all non-coordinator Druid services
|
void |
start() |
void |
stop() |
@Inject public CoordinatorBasicAuthenticatorCacheNotifier(AuthenticatorMapper authenticatorMapper, DruidNodeDiscoveryProvider discoveryProvider, HttpClient httpClient)
public void start()
public void stop()
public void addUpdate(String updatedAuthorizerPrefix, byte[] updatedUserMap)
BasicAuthenticatorCacheNotifier
addUpdate
in interface BasicAuthenticatorCacheNotifier
updatedAuthorizerPrefix
- Name of authenticator being updatedupdatedUserMap
- User map stateCopyright © 2011–2018. All rights reserved.