LocalJavaKeyStoreProvider (Apache Hadoop Common 3.5.0 API)
Description: declaration: package: org.apache.hadoop.security.alias, class: LocalJavaKeyStoreProvider

Package org.apache.hadoop.security.alias

# Class LocalJavaKeyStoreProvider

java.lang.Object
org.apache.hadoop.security.alias.CredentialProvider
org.apache.hadoop.security.alias.AbstractJavaKeyStoreProvider
org.apache.hadoop.security.alias.LocalKeyStoreProvider
org.apache.hadoop.security.alias.LocalJavaKeyStoreProvider

@Private public final class LocalJavaKeyStoreProvider extends LocalKeyStoreProvider
CredentialProvider based on Java's KeyStore file format. The file may be stored only on the local filesystem using the following name mangling: localjceks://file/home/larry/creds.jceks -> file:///home/larry/creds.jceks

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static class`
  `LocalJavaKeyStoreProvider.Factory`
  The factory to create JksProviders, which is used by the ServiceLoader.

  ## Nested classes/interfaces inherited from class org.apache.hadoop.security.alias.CredentialProvider

  `CredentialProvider.CredentialEntry`

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final String`
  `ALGORITHM`
  `static final String`
  `KEYSTORE_TYPE`
  `static final String`
  `SCHEME_NAME`

  ### Fields inherited from class org.apache.hadoop.security.alias.AbstractJavaKeyStoreProvider

  `CREDENTIAL_PASSWORD_DEFAULT, CREDENTIAL_PASSWORD_ENV_VAR, CREDENTIAL_PASSWORD_FILE_KEY, LOG`

  ### Fields inherited from class org.apache.hadoop.security.alias.CredentialProvider

  `CLEAR_TEXT_FALLBACK`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected String`
  `getAlgorithm()`
  `protected String`
  `getKeyStoreType()`
  `protected String`
  `getSchemeName()`

  ### Methods inherited from class org.apache.hadoop.security.alias.LocalKeyStoreProvider

  `createPermissions, flush, getInputStreamForFile, getOutputStreamForKeystore, initFileSystem, keystoreExists, stashOriginalFilePermissions`

  ### Methods inherited from class org.apache.hadoop.security.alias.AbstractJavaKeyStoreProvider

  `bytesToChars, createCredentialEntry, deleteCredentialEntry, getAliases, getConf, getCredentialEntry, getKeyStore, getPassword, getPath, getPathAsString, getReadLock, getUri, getWriteLock, isChanged, needsPassword, noPasswordError, noPasswordWarning, setChanged, setPassword, setPath, setReadLock, setWriteLock, toString`

  ### Methods inherited from class org.apache.hadoop.security.alias.CredentialProvider

  `isTransient`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### SCHEME_NAME

    public static final String SCHEME_NAME
    See Also:
      - Constant Field Values

  - ### KEYSTORE_TYPE

    public static final String KEYSTORE_TYPE
    See Also:
      - Constant Field Values

  - ### ALGORITHM

    public static final String ALGORITHM
    See Also:
      - Constant Field Values

- ## Method Details

  - ### getSchemeName

    protected String getSchemeName()
    Specified by:
      `getSchemeName` in class `AbstractJavaKeyStoreProvider`

  - ### getKeyStoreType

    protected String getKeyStoreType()
    Specified by:
      `getKeyStoreType` in class `AbstractJavaKeyStoreProvider`

  - ### getAlgorithm

    protected String getAlgorithm()
    Specified by:
      `getAlgorithm` in class `AbstractJavaKeyStoreProvider`