Module io.helidon.integrations.oci
Package io.helidon.integrations.oci
Class SessionTokenMethodConfig.BuilderBase.SessionTokenMethodConfigImpl
java.lang.Object
io.helidon.integrations.oci.SessionTokenMethodConfig.BuilderBase.SessionTokenMethodConfigImpl
- All Implemented Interfaces:
Prototype.Api
,SessionTokenMethodConfig
- Enclosing class:
SessionTokenMethodConfig.BuilderBase<BUILDER extends SessionTokenMethodConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends SessionTokenMethodConfig>
protected static class SessionTokenMethodConfig.BuilderBase.SessionTokenMethodConfigImpl
extends Object
implements SessionTokenMethodConfig
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.integrations.oci.SessionTokenMethodConfig
SessionTokenMethodConfig.Builder, SessionTokenMethodConfig.BuilderBase<BUILDER extends SessionTokenMethodConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends SessionTokenMethodConfig> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Create an instance providing a builder. -
Method Summary
Modifier and TypeMethodDescriptionboolean
The OCI authentication fingerprint.int
hashCode()
Delay of the first refresh.Optional
<char[]> The OCI authentication passphrase.The OCI authentication private key resource.Refresh period, i.e.region()
The OCI region.Customize the scheduled executor service to use for scheduling.Maximal lifetime of a session.Session token value.Session token path.tenantId()
The OCI tenant id.toString()
userId()
The OCI user id.
-
Constructor Details
-
SessionTokenMethodConfigImpl
Create an instance providing a builder.- Parameters:
builder
- extending builder base of this prototype
-
-
Method Details
-
region
Description copied from interface:SessionTokenMethodConfig
The OCI region.- Specified by:
region
in interfaceSessionTokenMethodConfig
- Returns:
- the OCI region
-
fingerprint
Description copied from interface:SessionTokenMethodConfig
The OCI authentication fingerprint.This configuration property must be provided in order to set the API signing key's fingerprint. See
SimpleAuthenticationDetailsProvider.getFingerprint()
for more details.- Specified by:
fingerprint
in interfaceSessionTokenMethodConfig
- Returns:
- the OCI authentication fingerprint
-
passphrase
Description copied from interface:SessionTokenMethodConfig
The OCI authentication passphrase.This property must be provided in order to set the SimpleAuthenticationDetailsProvider.getPassphraseCharacters().
- Specified by:
passphrase
in interfaceSessionTokenMethodConfig
- Returns:
- the OCI authentication passphrase
-
tenantId
Description copied from interface:SessionTokenMethodConfig
The OCI tenant id.This property must be provided in order to set the SimpleAuthenticationDetailsProvider.getTenantId().
- Specified by:
tenantId
in interfaceSessionTokenMethodConfig
- Returns:
- the OCI tenant id
-
userId
Description copied from interface:SessionTokenMethodConfig
The OCI user id.This property must be provided in order to set the SimpleAuthenticationDetailsProvider.getUserId().
- Specified by:
userId
in interfaceSessionTokenMethodConfig
- Returns:
- the OCI user id
-
privateKeyPath
Description copied from interface:SessionTokenMethodConfig
The OCI authentication private key resource. A resource can be defined as a resource on classpath, file on the file system, base64 encoded text value in config, or plain-text value in config.If not defined, we will use
".oci/sessions/DEFAULT/oci_api_key.pem
file in user home directory.- Specified by:
privateKeyPath
in interfaceSessionTokenMethodConfig
- Returns:
- the OCI authentication key file
-
sessionTokenPath
Description copied from interface:SessionTokenMethodConfig
Session token path. If both this value, andSessionTokenMethodConfig.sessionToken()
is defined, the value ofSessionTokenMethodConfig.sessionToken()
is used.- Specified by:
sessionTokenPath
in interfaceSessionTokenMethodConfig
- Returns:
- session token path
-
sessionToken
Description copied from interface:SessionTokenMethodConfig
Session token value. If both this value, andSessionTokenMethodConfig.sessionTokenPath()
is defined, this value is used.- Specified by:
sessionToken
in interfaceSessionTokenMethodConfig
- Returns:
- session token
-
initialRefreshDelay
Description copied from interface:SessionTokenMethodConfig
Delay of the first refresh. Defaults to 0, to refresh immediately (implemented in the authentication details provider).- Specified by:
initialRefreshDelay
in interfaceSessionTokenMethodConfig
- Returns:
- initial refresh delay
- See Also:
-
refreshPeriod
Description copied from interface:SessionTokenMethodConfig
Refresh period, i.e. how often refresh occurs. Defaults to 55 minutes (implemented in the authentication details provider).- Specified by:
refreshPeriod
in interfaceSessionTokenMethodConfig
- Returns:
- refresh period
- See Also:
-
sessionLifetimeHours
Description copied from interface:SessionTokenMethodConfig
Maximal lifetime of a session. Defaults to (and maximum is) 24 hours. Can only be set to a lower value.- Specified by:
sessionLifetimeHours
in interfaceSessionTokenMethodConfig
- Returns:
- lifetime of a session in hours
-
scheduler
Description copied from interface:SessionTokenMethodConfig
Customize the scheduled executor service to use for scheduling. Defaults to a single thread executor service.- Specified by:
scheduler
in interfaceSessionTokenMethodConfig
- Returns:
- scheduled executor service
-
toString
-
equals
-
hashCode
public int hashCode()
-