Class AbstractSSLCredentialProvider
- java.lang.Object
-
- org.apache.solr.util.configuration.providers.AbstractSSLCredentialProvider
-
- All Implemented Interfaces:
SSLCredentialProvider
- Direct Known Subclasses:
EnvSSLCredentialProvider
,SysPropSSLCredentialProvider
public abstract class AbstractSSLCredentialProvider extends Object implements SSLCredentialProvider
Abstract provider with default implementation
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.solr.util.configuration.SSLCredentialProvider
SSLCredentialProvider.CredentialType
-
-
Field Summary
Fields Modifier and Type Field Description static EnumMap<SSLCredentialProvider.CredentialType,String>
DEFAULT_CREDENTIAL_KEY_MAP
-
Constructor Summary
Constructors Constructor Description AbstractSSLCredentialProvider()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract String
getCredential(String key)
String
getCredential(SSLCredentialProvider.CredentialType type)
protected abstract EnumMap<SSLCredentialProvider.CredentialType,String>
getCredentialKeyMap()
-
-
-
Field Detail
-
DEFAULT_CREDENTIAL_KEY_MAP
public static final EnumMap<SSLCredentialProvider.CredentialType,String> DEFAULT_CREDENTIAL_KEY_MAP
-
-
Method Detail
-
getCredentialKeyMap
protected abstract EnumMap<SSLCredentialProvider.CredentialType,String> getCredentialKeyMap()
-
getCredential
public String getCredential(SSLCredentialProvider.CredentialType type)
- Specified by:
getCredential
in interfaceSSLCredentialProvider
- Returns:
- Credential for the given credential type
-
-