org.apache.hadoop.security.alias
Class CredentialProviderFactory
java.lang.Object
   org.apache.hadoop.security.alias.CredentialProviderFactory
org.apache.hadoop.security.alias.CredentialProviderFactory
- @InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract class CredentialProviderFactory 
- extends Object
A factory to create a list of CredentialProvider based on the path given in a
 Configuration. It uses a service loader interface to find the available
 CredentialProviders and create them based on the list of URIs.
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
CREDENTIAL_PROVIDER_PATH
public static final String CREDENTIAL_PROVIDER_PATH
- See Also:
- Constant Field Values
CredentialProviderFactory
public CredentialProviderFactory()
createProvider
public abstract CredentialProvider createProvider(URI providerName,
                                                  Configuration conf)
                                           throws IOException
- 
- Throws:
- IOException
 
getProviders
public static List<CredentialProvider> getProviders(Configuration conf)
                                             throws IOException
- 
- Throws:
- IOException
 
Copyright © 2014 Apache Software Foundation. All Rights Reserved.