public class CoordinatorBasicAuthorizerCacheNotifier extends Object implements BasicAuthorizerCacheNotifier
| Constructor and Description | 
|---|
CoordinatorBasicAuthorizerCacheNotifier(AuthorizerMapper authorizerMapper,
                                       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 CoordinatorBasicAuthorizerCacheNotifier(AuthorizerMapper authorizerMapper, DruidNodeDiscoveryProvider discoveryProvider, HttpClient httpClient)
public void start()
public void stop()
public void addUpdate(String updatedAuthorizerPrefix, byte[] updatedUserMap)
BasicAuthorizerCacheNotifieraddUpdate in interface BasicAuthorizerCacheNotifierupdatedAuthorizerPrefix - Name of authorizer being updatedupdatedUserMap - User/role map stateCopyright © 2011–2018. All rights reserved.