public class SimpleAuthenticationDetailsProvider extends CustomerAuthenticationDetailsProvider implements AuthenticationDetailsProvider, RegionProvider
Basic implementation of AuthenticationDetailsProvider that just returns configured
values.
| Modifier and Type | Class and Description |
|---|---|
static class |
SimpleAuthenticationDetailsProvider.SimpleAuthenticationDetailsProviderBuilder |
| Modifier and Type | Method and Description |
|---|---|
static SimpleAuthenticationDetailsProvider.SimpleAuthenticationDetailsProviderBuilder |
builder() |
String |
getFingerprint()
Returns the fingerprint of the key being used.
|
String |
getPassPhrase()
Deprecated.
|
char[] |
getPassphraseCharacters()
Returns the optional pass phrase for the (encrypted) private key, as a character array.
|
InputStream |
getPrivateKey()
Get the input stream with the private key.
|
Region |
getRegion()
Returns the region.
|
String |
getTenantId()
Returns the tenant OCID.
|
String |
getUserId()
Returns the user OCID.
|
String |
toString() |
getKeyIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetKeyIdpublic static SimpleAuthenticationDetailsProvider.SimpleAuthenticationDetailsProviderBuilder builder()
public InputStream getPrivateKey()
Get the input stream with the private key. Note that this stream may be read multiple times.
getPrivateKey in interface BasicAuthenticationDetailsProvider@Deprecated public String getPassPhrase()
BasicAuthenticationDetailsProviderReturns the optional pass phrase for the (encrypted) private key.
getPassPhrase in interface BasicAuthenticationDetailsProviderpublic String getTenantId()
AuthenticationDetailsProviderReturns the tenant OCID.
getTenantId in interface AuthenticationDetailsProviderpublic String getUserId()
AuthenticationDetailsProviderReturns the user OCID.
getUserId in interface AuthenticationDetailsProviderpublic String getFingerprint()
AuthenticationDetailsProviderReturns the fingerprint of the key being used.
getFingerprint in interface AuthenticationDetailsProviderpublic char[] getPassphraseCharacters()
BasicAuthenticationDetailsProviderReturns the optional pass phrase for the (encrypted) private key, as a character array.
getPassphraseCharacters in interface BasicAuthenticationDetailsProviderpublic Region getRegion()
RegionProviderReturns the region.
getRegion in interface RegionProviderCopyright © 2016–2024. All rights reserved.