Package org.apache.solr.common.cloud
Class DefaultZkCredentialsProvider
- java.lang.Object
-
- org.apache.solr.common.cloud.DefaultZkCredentialsProvider
-
- All Implemented Interfaces:
ZkCredentialsProvider
- Direct Known Subclasses:
DigestZkCredentialsProvider
,VMParamsSingleSetCredentialsDigestZkCredentialsProvider
public class DefaultZkCredentialsProvider extends Object implements ZkCredentialsProvider
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.solr.common.cloud.ZkCredentialsProvider
ZkCredentialsProvider.ZkCredentials
-
-
Field Summary
Fields Modifier and Type Field Description protected ZkCredentialsInjector
zkCredentialsInjector
-
Constructor Summary
Constructors Constructor Description DefaultZkCredentialsProvider()
DefaultZkCredentialsProvider(ZkCredentialsInjector zkCredentialsInjector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Collection<ZkCredentialsProvider.ZkCredentials>
createCredentials()
Collection<ZkCredentialsProvider.ZkCredentials>
getCredentials()
void
setZkCredentialsInjector(ZkCredentialsInjector zkCredentialsInjector)
-
-
-
Field Detail
-
zkCredentialsInjector
protected ZkCredentialsInjector zkCredentialsInjector
-
-
Constructor Detail
-
DefaultZkCredentialsProvider
public DefaultZkCredentialsProvider()
-
DefaultZkCredentialsProvider
public DefaultZkCredentialsProvider(ZkCredentialsInjector zkCredentialsInjector)
-
-
Method Detail
-
setZkCredentialsInjector
public void setZkCredentialsInjector(ZkCredentialsInjector zkCredentialsInjector)
- Specified by:
setZkCredentialsInjector
in interfaceZkCredentialsProvider
-
getCredentials
public Collection<ZkCredentialsProvider.ZkCredentials> getCredentials()
- Specified by:
getCredentials
in interfaceZkCredentialsProvider
-
createCredentials
protected Collection<ZkCredentialsProvider.ZkCredentials> createCredentials()
-
-