protected static class ConfigFileAuthenticationDetailsProvider.ConfigFileResourcePrincipalAuthenticationDetailsProvider extends Object implements BasicConfigFileAuthenticationProvider
| Modifier | Constructor and Description |
|---|---|
protected |
ConfigFileResourcePrincipalAuthenticationDetailsProvider(ConfigFileReader.ConfigFile configFile) |
| Modifier and Type | Method and Description |
|---|---|
List<ClientConfigurator> |
getClientConfigurators()
Get the list of ClientConfigurators
|
String |
getFingerprint()
Returns the fingerprint of the key being used.
|
String |
getKeyId()
Returns the keyId used to sign requests.
|
String |
getPassPhrase()
Returns the optional pass phrase for the (encrypted) private key.
|
char[] |
getPassphraseCharacters()
Returns the optional pass phrase for the (encrypted) private key, as a character array.
|
String |
getPemFilePath()
Get the PEM file path
|
InputStream |
getPrivateKey()
Returns a new InputStream to the private key.
|
String |
getTenantId()
Returns the tenant OCID.
|
String |
getUserId()
Returns the user OCID.
|
protected ConfigFileResourcePrincipalAuthenticationDetailsProvider(ConfigFileReader.ConfigFile configFile)
public String getFingerprint()
AuthenticationDetailsProviderReturns the fingerprint of the key being used.
getFingerprint in interface AuthenticationDetailsProviderpublic String getTenantId()
AuthenticationDetailsProviderReturns the tenant OCID.
getTenantId in interface AuthenticationDetailsProviderpublic String getUserId()
AuthenticationDetailsProviderReturns the user OCID.
getUserId in interface AuthenticationDetailsProviderpublic String getKeyId()
BasicAuthenticationDetailsProviderReturns the keyId used to sign requests.
getKeyId in interface BasicAuthenticationDetailsProviderpublic InputStream getPrivateKey()
BasicAuthenticationDetailsProviderReturns a new InputStream to the private key. This stream should be closed by the caller, implementations should return new streams each time.
getPrivateKey in interface BasicAuthenticationDetailsProviderpublic String getPassPhrase()
BasicAuthenticationDetailsProviderReturns the optional pass phrase for the (encrypted) private key.
getPassPhrase in interface BasicAuthenticationDetailsProviderpublic char[] getPassphraseCharacters()
BasicAuthenticationDetailsProviderReturns the optional pass phrase for the (encrypted) private key, as a character array.
getPassphraseCharacters in interface BasicAuthenticationDetailsProviderpublic String getPemFilePath()
BasicConfigFileAuthenticationProviderGet the PEM file path
getPemFilePath in interface BasicConfigFileAuthenticationProviderpublic List<ClientConfigurator> getClientConfigurators()
BasicConfigFileAuthenticationProviderGet the list of ClientConfigurators
getClientConfigurators in interface BasicConfigFileAuthenticationProviderCopyright © 2016–2024. All rights reserved.