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() |
getKeyId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getKeyId
public 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()
BasicAuthenticationDetailsProvider
Returns the optional pass phrase for the (encrypted) private key.
getPassPhrase
in interface BasicAuthenticationDetailsProvider
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 getFingerprint()
AuthenticationDetailsProvider
Returns the fingerprint of the key being used.
getFingerprint
in interface AuthenticationDetailsProvider
public char[] getPassphraseCharacters()
BasicAuthenticationDetailsProvider
Returns the optional pass phrase for the (encrypted) private key, as a character array.
getPassphraseCharacters
in interface BasicAuthenticationDetailsProvider
public Region getRegion()
RegionProvider
Returns the region.
getRegion
in interface RegionProvider
Copyright © 2016–2024. All rights reserved.