protected static class ConfigFileAuthenticationDetailsProvider.ConfigFileInstancePrincipalAuthenticationDetailsProvider extends Object implements BasicConfigFileAuthenticationProvider
Modifier | Constructor and Description |
---|---|
protected |
ConfigFileInstancePrincipalAuthenticationDetailsProvider(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 ConfigFileInstancePrincipalAuthenticationDetailsProvider(ConfigFileReader.ConfigFile configFile)
public String getFingerprint()
AuthenticationDetailsProvider
Returns the fingerprint of the key being used.
getFingerprint
in interface AuthenticationDetailsProvider
public String getTenantId()
AuthenticationDetailsProvider
Returns the tenant OCID.
getTenantId
in interface AuthenticationDetailsProvider
public String getUserId()
AuthenticationDetailsProvider
Returns the user OCID.
getUserId
in interface AuthenticationDetailsProvider
public String getKeyId()
BasicAuthenticationDetailsProvider
Returns the keyId used to sign requests.
getKeyId
in interface BasicAuthenticationDetailsProvider
public InputStream getPrivateKey()
BasicAuthenticationDetailsProvider
Returns 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 BasicAuthenticationDetailsProvider
public String getPassPhrase()
BasicAuthenticationDetailsProvider
Returns the optional pass phrase for the (encrypted) private key.
getPassPhrase
in interface BasicAuthenticationDetailsProvider
public char[] getPassphraseCharacters()
BasicAuthenticationDetailsProvider
Returns the optional pass phrase for the (encrypted) private key, as a character array.
getPassphraseCharacters
in interface BasicAuthenticationDetailsProvider
public String getPemFilePath()
BasicConfigFileAuthenticationProvider
Get the PEM file path
getPemFilePath
in interface BasicConfigFileAuthenticationProvider
public List<ClientConfigurator> getClientConfigurators()
BasicConfigFileAuthenticationProvider
Get the list of ClientConfigurators
getClientConfigurators
in interface BasicConfigFileAuthenticationProvider
Copyright © 2016–2024. All rights reserved.