Top Description Inners Fields Constructors Methods
com.oracle.bmc.auth

public Class ResourcePrincipalAuthenticationDetailsProvider

extends AbstractRequestingAuthenticationDetailsProvider
implements RegionProvider, RefreshableOnNotAuthenticatedProvider<String>, ConfigurableRefreshOnNotAuthenticatedProvider<String>
Class Inheritance
All Implemented Interfaces
com.oracle.bmc.auth.ConfigurableRefreshOnNotAuthenticatedProvider, com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider, com.oracle.bmc.auth.RegionProvider
Known Direct Subclasses
com.oracle.bmc.auth.ResourcePrincipalsV3AuthenticationDetailsProvider
Annotations
@AuthCachingPolicy
cacheKeyId:false
cachePrivateKey:false
Imports
com.oracle.bmc.InternalSdk, .Region, .Service, com.oracle.bmc.auth.internal.DefaultRptPathProvider, .FederationClient, .FileBasedKeySupplier, .FileBasedResourcePrincipalFederationClient, .FixedContentKeySupplier, .FixedContentResourcePrincipalFederationClient, .KeyPairAuthenticationDetailProvider, .ResourcePrincipalV2FederationClient, .ResourcePrincipalsFederationClient, .RptPathProvider, com.oracle.bmc.circuitbreaker.CircuitBreakerConfiguration, com.oracle.bmc.util.CircuitBreakerUtils, com.oracle.bmc.util.internal.NameUtils, .StringUtils, .Validate, org.slf4j.Logger, java.io.ByteArrayInputStream, .File, .FileInputStream, .FileNotFoundException, .IOException, .InputStream, java.nio.file.Files, .Path, java.time.Duration, java.util.Optional

This constructs a default implementation of the ResourcePrincipalAuthenticationDetailsProvider, constructed in accordance with the following environment variable settings:

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
public static class
ResourcePrincipalAuthenticationDetailsProvider.ResourcePrincipalAuthenticationDetailsProviderBuilder

Builder for ResourcePrincipalAuthenticationDetailsProvider that understands the V2.2 configuration

Field Summary

Modifier and TypeField and Description
private static final String
private static final Logger
pack-priv static final String
pack-priv static final String
pack-priv static final String
private static final String
pack-priv static final String
private static final String
private static final String
private static final String
private static final String
private static final String
pack-priv static final String
protected final Region
region

Returns the region where the java code using resource principal authentication is running at

private static final String
private static final String
protected static final String
protected static final String
protected static final String
pack-priv static final String
protected static final String
Inherited from com.oracle.bmc.auth.AbstractRequestingAuthenticationDetailsProvider:
federationClientsessionKeySupplier

Constructor Summary

AccessConstructor and Description
public
ResourcePrincipalAuthenticationDetailsProvider(FederationClient
federation client implementation.
federationClient
,
SessionKeySupplier
session key supplier implementation.
sessionKeySupplier
,
Region
the region
region
)

Constructor of ResourcePrincipalAuthenticationDetailsProvider.

Method Summary

Modifier and TypeMethod and Description
public static ResourcePrincipalAuthenticationDetailsProvider.ResourcePrincipalAuthenticationDetailsProviderBuilder
protected static FederationClient
getFederationClientFromRpst(String ociResourcePrincipalRpst, String inputType, SessionKeySupplier sessionKeySupplier)

public Region
protected static Region
getRegion(String ociResourcePrincipalRegion, String inputType)

protected static SessionKeySupplier
getSessionKeySupplierFromPemAndPassphrase(String ociResourcePrincipalPrivateKey, String ociResourcePrincipalPassphrase, String inputType)

public String

Returns:

the claim value.
getStringClaim
(String
the name of a claim in the session token
key
)

Session tokens carry JWT-like claims.

public String

Returns:

the refreshed authentication data
refresh
()

Implements com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider.refresh.

Refreshes the authentication data used by the provider

public String

Returns:

the refreshed authentication data
refreshIfExpiringWithin
(Duration
the duration to check
time
)

Implements com.oracle.bmc.auth.ConfigurableRefreshOnNotAuthenticatedProvider.refreshIfExpiringWithin.

Refreshes the authentication data used by the provider

public String

Returns:

the refreshed authentication data
refreshIfExpiringWithin
(Duration
the duration to check
time
,
boolean
boolean value to enable/disable refresh of keys
refreshKeys
)

Implements com.oracle.bmc.auth.ConfigurableRefreshOnNotAuthenticatedProvider.refreshIfExpiringWithin.

Refreshes the authentication data used by the provider

Inherited from com.oracle.bmc.auth.AbstractRequestingAuthenticationDetailsProvider:
getKeyIdgetPassPhrasegetPassphraseCharactersgetPrivateKey

Field Detail

DEFAULT_OCI_RESOURCE_PRINCIPAL_RPT_PATH_FORV212back to summary
private static final String DEFAULT_OCI_RESOURCE_PRINCIPAL_RPT_PATH_FORV212
LOGback to summary
private static final Logger LOG
OCI_RESOURCE_PRINCIPAL_PRIVATE_PEMback to summary
pack-priv static final String OCI_RESOURCE_PRINCIPAL_PRIVATE_PEM
OCI_RESOURCE_PRINCIPAL_PRIVATE_PEM_PASSPHRASEback to summary
pack-priv static final String OCI_RESOURCE_PRINCIPAL_PRIVATE_PEM_PASSPHRASE
OCI_RESOURCE_PRINCIPAL_REGION_ENV_VAR_NAMEback to summary
pack-priv static final String OCI_RESOURCE_PRINCIPAL_REGION_ENV_VAR_NAME
OCI_RESOURCE_PRINCIPAL_RESOURCE_IDback to summary
private static final String OCI_RESOURCE_PRINCIPAL_RESOURCE_ID
OCI_RESOURCE_PRINCIPAL_RPSTback to summary
pack-priv static final String OCI_RESOURCE_PRINCIPAL_RPST
OCI_RESOURCE_PRINCIPAL_RPST_ENDPOINTback to summary
private static final String OCI_RESOURCE_PRINCIPAL_RPST_ENDPOINT
OCI_RESOURCE_PRINCIPAL_RPT_ENDPOINTback to summary
private static final String OCI_RESOURCE_PRINCIPAL_RPT_ENDPOINT
OCI_RESOURCE_PRINCIPAL_RPT_PATHback to summary
private static final String OCI_RESOURCE_PRINCIPAL_RPT_PATH
OCI_RESOURCE_PRINCIPAL_SECURITY_CONTEXTback to summary
private static final String OCI_RESOURCE_PRINCIPAL_SECURITY_CONTEXT
OCI_RESOURCE_PRINCIPAL_TENANCY_IDback to summary
private static final String OCI_RESOURCE_PRINCIPAL_TENANCY_ID
OCI_RESOURCE_PRINCIPAL_VERSIONback to summary
pack-priv static final String OCI_RESOURCE_PRINCIPAL_VERSION
regionback to summary
protected final Region region

Returns the region where the java code using resource principal authentication is running at

RP_DEBUG_INFORMATION_LOGback to summary
private static final String RP_DEBUG_INFORMATION_LOG
RP_VERSION_1_1back to summary
private static final String RP_VERSION_1_1
RP_VERSION_2_1back to summary
protected static final String RP_VERSION_2_1
RP_VERSION_2_1_1back to summary
protected static final String RP_VERSION_2_1_1
RP_VERSION_2_1_2back to summary
protected static final String RP_VERSION_2_1_2
RP_VERSION_2_2back to summary
pack-priv static final String RP_VERSION_2_2
RP_VERSION_3_0back to summary
protected static final String RP_VERSION_3_0

Constructor Detail

ResourcePrincipalAuthenticationDetailsProviderback to summary
public ResourcePrincipalAuthenticationDetailsProvider(FederationClient federationClient, SessionKeySupplier sessionKeySupplier, Region region)

Constructor of ResourcePrincipalAuthenticationDetailsProvider.

Parameters
federationClient:FederationClient

federation client implementation.

sessionKeySupplier:SessionKeySupplier

session key supplier implementation.

region:Region

the region

Method Detail

builderback to summary
public static ResourcePrincipalAuthenticationDetailsProvider.ResourcePrincipalAuthenticationDetailsProviderBuilder builder()
getFederationClientFromRpstback to summary
protected static FederationClient getFederationClientFromRpst(String ociResourcePrincipalRpst, String inputType, SessionKeySupplier sessionKeySupplier)
getRegionback to summary
public Region getRegion()

Implements com.oracle.bmc.auth.RegionProvider.getRegion.

Doc from com.oracle.bmc.auth.RegionProvider.getRegion.

Returns the region.

Returns:Region

Region object.

getRegionback to summary
protected static Region getRegion(String ociResourcePrincipalRegion, String inputType)
getSessionKeySupplierFromPemAndPassphraseback to summary
protected static SessionKeySupplier getSessionKeySupplierFromPemAndPassphrase(String ociResourcePrincipalPrivateKey, String ociResourcePrincipalPassphrase, String inputType)
getStringClaimback to summary
public String getStringClaim(String key)

Session tokens carry JWT-like claims. Permit the retrieval of the value of those claims from the token. At the least, the token should carry claims for ClaimKeys#COMPARTMENT_ID_CLAIM_KEY and ClaimKeys#TENANT_ID_CLAIM_KEY

Parameters
key:String

the name of a claim in the session token

Returns:String

the claim value.

refreshback to summary
public String refresh()

Implements com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider.refresh.

Refreshes the authentication data used by the provider

Returns:String

the refreshed authentication data

Annotations
@Override
refreshIfExpiringWithinback to summary
public String refreshIfExpiringWithin(Duration time)

Implements com.oracle.bmc.auth.ConfigurableRefreshOnNotAuthenticatedProvider.refreshIfExpiringWithin.

Refreshes the authentication data used by the provider

Parameters
time:Duration

Doc from com.oracle.bmc.auth.ConfigurableRefreshOnNotAuthenticatedProvider.refreshIfExpiringWithin.

the duration to check

Returns:String

the refreshed authentication data

Annotations
@Override
refreshIfExpiringWithinback to summary
public String refreshIfExpiringWithin(Duration time, boolean refreshKeys)

Implements com.oracle.bmc.auth.ConfigurableRefreshOnNotAuthenticatedProvider.refreshIfExpiringWithin.

Refreshes the authentication data used by the provider

Parameters
time:Duration

Doc from com.oracle.bmc.auth.ConfigurableRefreshOnNotAuthenticatedProvider.refreshIfExpiringWithin.

the duration to check

refreshKeys:boolean

Doc from com.oracle.bmc.auth.ConfigurableRefreshOnNotAuthenticatedProvider.refreshIfExpiringWithin.

boolean value to enable/disable refresh of keys

Returns:String

the refreshed authentication data

Annotations
@Override
com.oracle.bmc.auth back to summary

public Class ResourcePrincipalAuthenticationDetailsProvider.ClaimKeys

extends Object
Class Inheritance
  • java.lang.Object
  • com.oracle.bmc.auth.ResourcePrincipalAuthenticationDetailsProvider.ClaimKeys

Field Summary

Modifier and TypeField and Description
public static final String
COMPARTMENT_ID_CLAIM_KEY

COMPARTMENT_ID is the claim name that the RPST holds for the resource compartment.

public static final String
TENANT_ID_CLAIM_KEY

TENANT_ID_CLAIM_KEY is the claim name that the RPST holds for the resource tenancy.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

COMPARTMENT_ID_CLAIM_KEYback to summary
public static final String COMPARTMENT_ID_CLAIM_KEY

COMPARTMENT_ID is the claim name that the RPST holds for the resource compartment. This can be passed to getStringClaim to retrieve the resource's compartment OCID.

TENANT_ID_CLAIM_KEYback to summary
public static final String TENANT_ID_CLAIM_KEY

TENANT_ID_CLAIM_KEY is the claim name that the RPST holds for the resource tenancy. This can be passed to getStringClaim to retrieve the resource's tenancy OCID.

Constructor Detail

ClaimKeysback to summary
public ClaimKeys()
com.oracle.bmc.auth back to summary

public Class ResourcePrincipalAuthenticationDetailsProvider.ResourcePrincipalAuthenticationDetailsProviderBuilder

extends AbstractFederationClientAuthenticationDetailsProviderBuilder<ResourcePrincipalAuthenticationDetailsProvider.ResourcePrincipalAuthenticationDetailsProviderBuilder, ResourcePrincipalAuthenticationDetailsProvider>
Class Inheritance
Known Direct Subclasses
com.oracle.bmc.auth.ResourcePrincipalsV3AuthenticationDetailsProvider.ResourcePrincipalsV3AuthenticationDetailsProviderBuilder

Builder for ResourcePrincipalAuthenticationDetailsProvider that understands the V2.2 configuration

Field Summary

Modifier and TypeField and Description
protected CircuitBreakerConfiguration
circuitBreakerConfig

The configuration for the circuit breaker.

protected String
resourcePrincipalTokenEndpoint

The endpoint that can provide the resource principal token.

protected RptPathProvider
resourcePrincipalTokenPathProvider

The path provider for the resource principal token.

protected String
securityContext

The configuration for the security context.

Inherited from com.oracle.bmc.auth.AbstractFederationClientAuthenticationDetailsProviderBuilder:
AUTHORIZATION_HEADER_VALUEcircuitBreakerConfigurationdetectEndpointRetriesfederationEndpointleafCertificateSupplierMETADATA_BASE_URL_ENV_VARMETADATA_SERVICE_BASE_URLMETADATA_URL_OVERRIDEmetadataBaseUrlregionSERVICEtenancyIdtimeoutForEachRetry

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public ResourcePrincipalAuthenticationDetailsProvider
public ResourcePrincipalAuthenticationDetailsProvider

Returns:

ResourcePrincipalAuthenticationDetailsProvider
build_1_1
(String ociResourcePrincipalRptEndpoint, String ociResourcePrincipalRpstEndpoint)

Helper method that interprets the runtime environment to build a v1.1-configured client

public ResourcePrincipalAuthenticationDetailsProvider

Returns:

ResourcePrincipalAuthenticationDetailsProvider
build_2_1_2
(String ociResourcePrincipalRptEndpoint, String ociResourcePrincipalRpstEndpoint, String ociResourcePrincipalTokenPath, String ociSecurityContext, String ociResourcePrincipalResourceId, String ociResourcePrincipalTenancyId, String ociResourcePrincipalPrivateKey, String ociResourcePrincipalPassphrase, String ociResourcePrincipalVersion)

Helper method that interprets the runtime environment to build a v2.1.2-configured client

public ResourcePrincipalAuthenticationDetailsProvider

Returns:

ResourcePrincipalAuthenticationDetailsProvider
build_2_1_or_2_1_1
(String ociResourcePrincipalRptEndpoint, String ociResourcePrincipalRpstEndpoint, String ociResourcePrincipalResourceId, String ociResourcePrincipalTenancyId, String ociResourcePrincipalPrivateKey, String ociResourcePrincipalPassphrase, String ociResourcePrincipalVersion)

Helper method that interprets the runtime environment to build a v2.1 or 2.1.1-configured client

public static ResourcePrincipalAuthenticationDetailsProvider

Returns:

ResourcePrincipalAuthenticationDetailsProvider
build_2_2
(String ociResourcePrincipalPrivateKey, String ociResourcePrincipalPassphrase, String ociResourcePrincipalRpst, String ociResourcePrincipalRegion, String inputType)

Helper method that interprets the runtime environment to build a v2.2-configured client

public ResourcePrincipalAuthenticationDetailsProvider

Returns:

ResourcePrincipalAuthenticationDetailsProvider
build_3_0
()

Helper method that interprets the runtime environment to build a v3.0-configured client

protected ResourcePrincipalAuthenticationDetailsProvider
buildProvider(SessionKeySupplier
the session key supplier to use
sessionKeySupplierToUse
)

Implements abstract com.oracle.bmc.auth.AbstractFederationClientAuthenticationDetailsProviderBuilder.buildProvider.

Build the actual provider.

public ResourcePrincipalAuthenticationDetailsProvider.ResourcePrincipalAuthenticationDetailsProviderBuilder
circuitBreakerConfig(CircuitBreakerConfiguration circuitBreakerConfig)

Set value for the CircuitBreaker Configuration.

protected FederationClient
protected void
private KeyPairAuthenticationDetailProvider
getKeyPairAuthenticationDetailProvider(String ociResourcePrincipalResourceId, String ociResourcePrincipalPrivateKey, String ociResourcePrincipalPassphrase, String tenancyId, String ociResourcePrincipalVersion)

public ResourcePrincipalAuthenticationDetailsProvider.ResourcePrincipalAuthenticationDetailsProviderBuilder
public ResourcePrincipalAuthenticationDetailsProvider.ResourcePrincipalAuthenticationDetailsProviderBuilder
resourcePrincipalSessionTokenEndpoint(String resourcePrincipalSessionTokenEndpoint)

Configures the resourcePrincipalSessionTokenEndpoint to use.

public ResourcePrincipalAuthenticationDetailsProvider.ResourcePrincipalAuthenticationDetailsProviderBuilder
resourcePrincipalTokenEndpoint(String resourcePrincipalTokenEndpoint)

Configures the resourcePrincipalTokenEndpoint to use.

public ResourcePrincipalAuthenticationDetailsProvider.ResourcePrincipalAuthenticationDetailsProviderBuilder
resourcePrincipalTokenEndpoint(Service service, Region region)

Configures the resourcePrincipalTokenEndpoint to use.

public ResourcePrincipalAuthenticationDetailsProvider.ResourcePrincipalAuthenticationDetailsProviderBuilder
resourcePrincipalTokenPathProvider(RptPathProvider resourcePrincipalTokenPathProvider)

Configures the resourcePrincipalTokenPathProvider to use.

public ResourcePrincipalAuthenticationDetailsProvider.ResourcePrincipalAuthenticationDetailsProviderBuilder
securityContext(String securityContext)

Set value for the security context to use.

Inherited from com.oracle.bmc.auth.AbstractFederationClientAuthenticationDetailsProviderBuilder:
autoDetectCertificatesUsingMetadataUrlautoDetectEndpointUsingMetadataUrlautoDetectUsingMetadataUrlcircuitBreakerConfiguratordetectEndpointRetriesfederationEndpointgetFederationEndpointgetLeafCertificateSuppliergetMetadataBaseUrlgetRegiongetTenancyIdmetadataBaseUrlpurposetenancyIdtimeoutForEachRetry

Field Detail

circuitBreakerConfigback to summary
protected CircuitBreakerConfiguration circuitBreakerConfig

The configuration for the circuit breaker.

resourcePrincipalTokenEndpointback to summary
protected String resourcePrincipalTokenEndpoint

The endpoint that can provide the resource principal token.

Required.

resourcePrincipalTokenPathProviderback to summary
protected RptPathProvider resourcePrincipalTokenPathProvider

The path provider for the resource principal token.

Defaults to DefaultRptPathProvider if null

securityContextback to summary
protected String securityContext

The configuration for the security context.

Constructor Detail

ResourcePrincipalAuthenticationDetailsProviderBuilderback to summary
pack-priv ResourcePrincipalAuthenticationDetailsProviderBuilder()

Method Detail

buildback to summary
public ResourcePrincipalAuthenticationDetailsProvider build()

Overrides com.oracle.bmc.auth.AbstractFederationClientAuthenticationDetailsProviderBuilder.build.

Examine the environment of the running process; construct a ResourcePrincipalAuthenticationDetailsProvider accordingly.

Returns:ResourcePrincipalAuthenticationDetailsProvider

Doc from com.oracle.bmc.auth.AbstractFederationClientAuthenticationDetailsProviderBuilder.build.

A new provider instance.

build_1_1back to summary
public ResourcePrincipalAuthenticationDetailsProvider build_1_1(String ociResourcePrincipalRptEndpoint, String ociResourcePrincipalRpstEndpoint)

Helper method that interprets the runtime environment to build a v1.1-configured client

Returns:ResourcePrincipalAuthenticationDetailsProvider

ResourcePrincipalAuthenticationDetailsProvider

Annotations
@InternalSdk
build_2_1_2back to summary
public ResourcePrincipalAuthenticationDetailsProvider build_2_1_2(String ociResourcePrincipalRptEndpoint, String ociResourcePrincipalRpstEndpoint, String ociResourcePrincipalTokenPath, String ociSecurityContext, String ociResourcePrincipalResourceId, String ociResourcePrincipalTenancyId, String ociResourcePrincipalPrivateKey, String ociResourcePrincipalPassphrase, String ociResourcePrincipalVersion)

Helper method that interprets the runtime environment to build a v2.1.2-configured client

Returns:ResourcePrincipalAuthenticationDetailsProvider

ResourcePrincipalAuthenticationDetailsProvider

build_2_1_or_2_1_1back to summary
public ResourcePrincipalAuthenticationDetailsProvider build_2_1_or_2_1_1(String ociResourcePrincipalRptEndpoint, String ociResourcePrincipalRpstEndpoint, String ociResourcePrincipalResourceId, String ociResourcePrincipalTenancyId, String ociResourcePrincipalPrivateKey, String ociResourcePrincipalPassphrase, String ociResourcePrincipalVersion)

Helper method that interprets the runtime environment to build a v2.1 or 2.1.1-configured client

Returns:ResourcePrincipalAuthenticationDetailsProvider

ResourcePrincipalAuthenticationDetailsProvider

build_2_2back to summary
public static ResourcePrincipalAuthenticationDetailsProvider build_2_2(String ociResourcePrincipalPrivateKey, String ociResourcePrincipalPassphrase, String ociResourcePrincipalRpst, String ociResourcePrincipalRegion, String inputType)

Helper method that interprets the runtime environment to build a v2.2-configured client

Returns:ResourcePrincipalAuthenticationDetailsProvider

ResourcePrincipalAuthenticationDetailsProvider

build_3_0back to summary
public ResourcePrincipalAuthenticationDetailsProvider build_3_0()

Helper method that interprets the runtime environment to build a v3.0-configured client

Returns:ResourcePrincipalAuthenticationDetailsProvider

ResourcePrincipalAuthenticationDetailsProvider

buildProviderback to summary
protected ResourcePrincipalAuthenticationDetailsProvider buildProvider(SessionKeySupplier sessionKeySupplierToUse)

Implements abstract com.oracle.bmc.auth.AbstractFederationClientAuthenticationDetailsProviderBuilder.buildProvider.

Doc from com.oracle.bmc.auth.AbstractFederationClientAuthenticationDetailsProviderBuilder.buildProvider.

Build the actual provider.

Parameters
sessionKeySupplierToUse:SessionKeySupplier

the session key supplier to use

Returns:ResourcePrincipalAuthenticationDetailsProvider

authentication details provider

Annotations
@Override
circuitBreakerConfigback to summary
public ResourcePrincipalAuthenticationDetailsProvider.ResourcePrincipalAuthenticationDetailsProviderBuilder circuitBreakerConfig(CircuitBreakerConfiguration circuitBreakerConfig)

Set value for the CircuitBreaker Configuration.

createFederationClientback to summary
protected FederationClient createFederationClient(SessionKeySupplier sessionKeySupplier)

Overrides com.oracle.bmc.auth.AbstractFederationClientAuthenticationDetailsProviderBuilder.createFederationClient.

Doc from com.oracle.bmc.auth.AbstractFederationClientAuthenticationDetailsProviderBuilder.createFederationClient.

Create the federation client.

Parameters
sessionKeySupplier:SessionKeySupplier

the session key supplier

Returns:FederationClient

the federation client

Annotations
@Override
createRptPathProviderback to summary
protected void createRptPathProvider()
getKeyPairAuthenticationDetailProviderback to summary
private KeyPairAuthenticationDetailProvider getKeyPairAuthenticationDetailProvider(String ociResourcePrincipalResourceId, String ociResourcePrincipalPrivateKey, String ociResourcePrincipalPassphrase, String tenancyId, String ociResourcePrincipalVersion)
leafCertificateSupplierback to summary
public ResourcePrincipalAuthenticationDetailsProvider.ResourcePrincipalAuthenticationDetailsProviderBuilder leafCertificateSupplier(X509CertificateSupplier leafCertificateSupplier)

Overrides com.oracle.bmc.auth.AbstractFederationClientAuthenticationDetailsProviderBuilder.leafCertificateSupplier.

Configures the custom leafCertificateSupplier to use.

Returns:ResourcePrincipalAuthenticationDetailsProvider.ResourcePrincipalAuthenticationDetailsProviderBuilder

Doc from com.oracle.bmc.auth.AbstractFederationClientAuthenticationDetailsProviderBuilder.leafCertificateSupplier.

this builder

resourcePrincipalSessionTokenEndpointback to summary
public ResourcePrincipalAuthenticationDetailsProvider.ResourcePrincipalAuthenticationDetailsProviderBuilder resourcePrincipalSessionTokenEndpoint(String resourcePrincipalSessionTokenEndpoint)

Configures the resourcePrincipalSessionTokenEndpoint to use.

Annotations
@Deprecated
resourcePrincipalTokenEndpointback to summary
public ResourcePrincipalAuthenticationDetailsProvider.ResourcePrincipalAuthenticationDetailsProviderBuilder resourcePrincipalTokenEndpoint(String resourcePrincipalTokenEndpoint)

Configures the resourcePrincipalTokenEndpoint to use.

resourcePrincipalTokenEndpointback to summary
public ResourcePrincipalAuthenticationDetailsProvider.ResourcePrincipalAuthenticationDetailsProviderBuilder resourcePrincipalTokenEndpoint(Service service, Region region)

Configures the resourcePrincipalTokenEndpoint to use.

resourcePrincipalTokenPathProviderback to summary
public ResourcePrincipalAuthenticationDetailsProvider.ResourcePrincipalAuthenticationDetailsProviderBuilder resourcePrincipalTokenPathProvider(RptPathProvider resourcePrincipalTokenPathProvider)

Configures the resourcePrincipalTokenPathProvider to use.

securityContextback to summary
public ResourcePrincipalAuthenticationDetailsProvider.ResourcePrincipalAuthenticationDetailsProviderBuilder securityContext(String securityContext)

Set value for the security context to use.