AuthenticationDetailsProvider that uses a standard OCI configuration
file as an input.
| Modifier and Type | Class and Description |
|---|---|
| protected static class | |
| protected static class | |
| protected static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final String | |
| protected final BasicConfigFileAuthenticationProvider | |
| private static final String | |
| private static final Logger | |
| private static final String | |
| private final Region | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public | ConfigFileAuthenticationDetailsProvider(String
profile to load, optional profile)Creates a new instance using the config file at the default location, see |
| public | ConfigFileAuthenticationDetailsProvider(String
path to the OCI configuration file configurationFilePath, String profile to load, optional profile)Creates a new instance. |
| public | ConfigFileAuthenticationDetailsProvider(ConfigFileReader.
The configuration file to use. configFileCreates a new instance. |
| AUTHENTICATION_TYPE_KEY | back to summary |
|---|---|
| private static final String AUTHENTICATION_TYPE_KEY | |
| CONFIG_FILE_DEBUG_INFORMATION_LOG | back to summary |
|---|---|
| private static final String CONFIG_FILE_DEBUG_INFORMATION_LOG | |
| delegate | back to summary |
|---|---|
| protected final BasicConfigFileAuthenticationProvider delegate | |
| INSTANCE_PRINCIPAL_AUTHENTICATION_TYPE_VALUE | back to summary |
|---|---|
| private static final String INSTANCE_PRINCIPAL_AUTHENTICATION_TYPE_VALUE | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| OCI_REGION_ENV_VAR_NAME | back to summary |
|---|---|
| private static final String OCI_REGION_ENV_VAR_NAME | |
| region | back to summary |
|---|---|
| private final Region region | |
| RESOURCE_PRINCIPAL_AUTHENTICATION_TYPE_VALUE | back to summary |
|---|---|
| private static final String RESOURCE_PRINCIPAL_AUTHENTICATION_TYPE_VALUE | |
| ConfigFileAuthenticationDetailsProvider | back to summary |
|---|---|
| public ConfigFileAuthenticationDetailsProvider(String profile) throws IOException Creates a new instance using the config file at the default location, see
| |
| ConfigFileAuthenticationDetailsProvider | back to summary |
|---|---|
| public ConfigFileAuthenticationDetailsProvider(String configurationFilePath, String profile) throws IOException Creates a new instance.
| |
| ConfigFileAuthenticationDetailsProvider | back to summary |
|---|---|
| public ConfigFileAuthenticationDetailsProvider(ConfigFileReader. Creates a new instance.
| |
| getClientConfigurators | back to summary |
|---|---|
| public List Implements com.
| |
| getFingerprint | back to summary |
|---|---|
| public String getFingerprint() Implements com. Doc from com. Returns the fingerprint of the key being used. | |
| getKeyId | back to summary |
|---|---|
| public String getKeyId() Implements com. Doc from com. Returns the keyId used to sign requests. | |
| getPassPhrase | back to summary |
|---|---|
| public String getPassPhrase() Implements com. Doc from com. Deprecated
Returns the optional pass phrase for the (encrypted) private key.
| |
| getPassphraseCharacters | back to summary |
|---|---|
| public char[] getPassphraseCharacters() Implements com. Doc from com. Returns the optional pass phrase for the (encrypted) private key, as a character array.
| |
| getPemFilePath | back to summary |
|---|---|
| public String getPemFilePath() Returns the file path to the private key.
| |
| getPrivateKey | back to summary |
|---|---|
| public InputStream getPrivateKey() Implements com. Doc from com. Returns a new InputStream to the private key. This stream should be closed by the caller, implementations should return new streams each time.
| |
| getRegion | back to summary |
|---|---|
| public Region getRegion() Implements com. Doc from com. Returns the region. | |
| getRegionFromConfigFile | back to summary |
|---|---|
| public static Region getRegionFromConfigFile(ConfigFileReader. | |
| getTenantId | back to summary |
|---|---|
| public String getTenantId() Implements com. Doc from com. Returns the tenant OCID. | |
| getUserId | back to summary |
|---|---|
| public String getUserId() Implements com. Doc from com. Returns the user OCID. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private final InstancePrincipalsAuthenticationDetailsProvider | |
| private final String |
| Access | Constructor and Description |
|---|---|
| protected |
| clientConfigurators | back to summary |
|---|---|
| private final List<ClientConfigurator> clientConfigurators | |
| delegate | back to summary |
|---|---|
| private final InstancePrincipalsAuthenticationDetailsProvider delegate | |
| tenantId | back to summary |
|---|---|
| private final String tenantId | |
| ConfigFileInstancePrincipalAuthenticationDetailsProvider | back to summary |
|---|---|
| protected ConfigFileInstancePrincipalAuthenticationDetailsProvider(ConfigFileReader. | |
| getClientConfigurators | back to summary |
|---|---|
| public List Implements com. Doc from com. Get the list of ClientConfigurators
| |
| getFingerprint | back to summary |
|---|---|
| public String getFingerprint() Implements com. Doc from com. Returns the fingerprint of the key being used. | |
| getKeyId | back to summary |
|---|---|
| public String getKeyId() Implements com. Doc from com. Returns the keyId used to sign requests. | |
| getPassPhrase | back to summary |
|---|---|
| public String getPassPhrase() Implements com. Doc from com. Returns the optional pass phrase for the (encrypted) private key. | |
| getPassphraseCharacters | back to summary |
|---|---|
| public char[] getPassphraseCharacters() Implements com. Doc from com. Returns the optional pass phrase for the (encrypted) private key, as a character array.
| |
| getPemFilePath | back to summary |
|---|---|
| public String getPemFilePath() Implements com. Doc from com. Get the PEM file path | |
| getPrivateKey | back to summary |
|---|---|
| public InputStream getPrivateKey() Implements com. Doc from com. Returns a new InputStream to the private key. This stream should be closed by the caller, implementations should return new streams each time.
| |
| getTenantId | back to summary |
|---|---|
| public String getTenantId() Implements com. Doc from com. Returns the tenant OCID. | |
| getUserId | back to summary |
|---|---|
| public String getUserId() Implements com. Doc from com. Returns the user OCID. | |
| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private final ResourcePrincipalAuthenticationDetailsProvider | |
| private final String |
| Access | Constructor and Description |
|---|---|
| protected |
| clientConfigurators | back to summary |
|---|---|
| private final List<ClientConfigurator> clientConfigurators | |
| delegate | back to summary |
|---|---|
| private final ResourcePrincipalAuthenticationDetailsProvider delegate | |
| tenantId | back to summary |
|---|---|
| private final String tenantId | |
| ConfigFileResourcePrincipalAuthenticationDetailsProvider | back to summary |
|---|---|
| protected ConfigFileResourcePrincipalAuthenticationDetailsProvider(ConfigFileReader. | |
| getClientConfigurators | back to summary |
|---|---|
| public List Implements com. Doc from com. Get the list of ClientConfigurators
| |
| getFingerprint | back to summary |
|---|---|
| public String getFingerprint() Implements com. Doc from com. Returns the fingerprint of the key being used. | |
| getKeyId | back to summary |
|---|---|
| public String getKeyId() Implements com. Doc from com. Returns the keyId used to sign requests. | |
| getPassPhrase | back to summary |
|---|---|
| public String getPassPhrase() Implements com. Doc from com. Returns the optional pass phrase for the (encrypted) private key. | |
| getPassphraseCharacters | back to summary |
|---|---|
| public char[] getPassphraseCharacters() Implements com. Doc from com. Returns the optional pass phrase for the (encrypted) private key, as a character array.
| |
| getPemFilePath | back to summary |
|---|---|
| public String getPemFilePath() Implements com. Doc from com. Get the PEM file path | |
| getPrivateKey | back to summary |
|---|---|
| public InputStream getPrivateKey() Implements com. Doc from com. Returns a new InputStream to the private key. This stream should be closed by the caller, implementations should return new streams each time.
| |
| getTenantId | back to summary |
|---|---|
| public String getTenantId() Implements com. Doc from com. Returns the tenant OCID. | |
| getUserId | back to summary |
|---|---|
| public String getUserId() Implements com. Doc from com. Returns the user OCID. | |
| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private final SimpleAuthenticationDetailsProvider | |
| private final String |
| Access | Constructor and Description |
|---|---|
| protected |
| clientConfigurators | back to summary |
|---|---|
| private final List<ClientConfigurator> clientConfigurators | |
| delegate | back to summary |
|---|---|
| private final SimpleAuthenticationDetailsProvider delegate | |
| pemFilePath | back to summary |
|---|---|
| private final String pemFilePath | |
| ConfigFileSimpleAuthenticationDetailsProvider | back to summary |
|---|---|
| protected ConfigFileSimpleAuthenticationDetailsProvider(ConfigFileReader. | |
| getClientConfigurators | back to summary |
|---|---|
| public List Implements com. Doc from com. Get the list of ClientConfigurators
| |
| getFingerprint | back to summary |
|---|---|
| public String getFingerprint() Implements com. Doc from com. Returns the fingerprint of the key being used.
| |
| getKeyId | back to summary |
|---|---|
| public String getKeyId() Implements com. Doc from com. Returns the keyId used to sign requests.
| |
| getPassPhrase | back to summary |
|---|---|
| public String getPassPhrase() Implements com. Doc from com. Deprecated
Returns the optional pass phrase for the (encrypted) private key.
| |
| getPassphraseCharacters | back to summary |
|---|---|
| public char[] getPassphraseCharacters() Implements com. Doc from com. Deprecated
Returns the optional pass phrase for the (encrypted) private key, as a character array.
| |
| getPemFilePath | back to summary |
|---|---|
| public String getPemFilePath() Implements com. Doc from com. Get the PEM file path | |
| getPrivateKey | back to summary |
|---|---|
| public InputStream getPrivateKey() Implements com. Doc from com. Returns a new InputStream to the private key. This stream should be closed by the caller, implementations should return new streams each time.
| |
| getTenantId | back to summary |
|---|---|
| public String getTenantId() Implements com. Doc from com. Returns the tenant OCID.
| |
| getUserId | back to summary |
|---|---|
| public String getUserId() Implements com. Doc from com. Returns the user OCID.
| |