public class Sha256AuthenticationProvider extends Object implements ConfigEditablePlugin, BasicAuthPlugin.AuthenticationProvider
| Constructor and Description | 
|---|
Sha256AuthenticationProvider()  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
authenticate(String username,
            String password)  | 
Map<String,Object> | 
edit(Map<String,Object> latestConf,
    List<CommandOperation> commands)
Operate the commands on the latest conf and return a new conf object
 If there are errors in the commands , throw a SolrException. 
 | 
Map<String,String> | 
getPromptHeaders()  | 
void | 
init(Map<String,Object> pluginConfig)  | 
static String | 
sha256(String password,
      String saltKey)  | 
public void init(Map<String,Object> pluginConfig)
init in interface BasicAuthPlugin.AuthenticationProviderpublic boolean authenticate(String username, String password)
authenticate in interface BasicAuthPlugin.AuthenticationProviderpublic Map<String,String> getPromptHeaders()
getPromptHeaders in interface BasicAuthPlugin.AuthenticationProviderpublic Map<String,Object> edit(Map<String,Object> latestConf, List<CommandOperation> commands)
ConfigEditablePluginedit in interface ConfigEditablePluginCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.