public static class InstancePrincipalsAuthenticationDetailsProvider.InstancePrincipalsAuthenticationDetailsProviderBuilder extends AbstractFederationClientAuthenticationDetailsProviderBuilder<InstancePrincipalsAuthenticationDetailsProvider.InstancePrincipalsAuthenticationDetailsProviderBuilder,InstancePrincipalsAuthenticationDetailsProvider>
Builder for InstancePrincipalsAuthenticationDetailsProviderBuilder.
AUTHORIZATION_HEADER_VALUE, circuitBreakerConfiguration, detectEndpointRetries, FALLBACK_METADATA_SERVICE_URL, federationEndpoint, leafCertificateSupplier, METADATA_SERVICE_BASE_URL, metadataBaseUrl, region, SERVICE, tenancyId, timeoutForEachRetry
additionalFederationClientConfigurators, federationClient, federationClientConfigurator, intermediateCertificateSuppliers, sessionKeySupplier
Constructor and Description |
---|
InstancePrincipalsAuthenticationDetailsProviderBuilder() |
autoDetectCertificatesUsingMetadataUrl, autoDetectEndpointUsingMetadataUrl, autoDetectUsingMetadataUrl, circuitBreakerConfigurator, createFederationClient, getFederationEndpoint, getLeafCertificateSupplier, getMetadataBaseUrl, getRegion, getTenancyId, metadataBaseUrl, purpose, tenancyId
additionalFederationClientConfigurator, federationClientConfigurator, intermediateCertificateSuppliers, sessionKeySupplier
public InstancePrincipalsAuthenticationDetailsProviderBuilder()
protected InstancePrincipalsAuthenticationDetailsProvider buildProvider(SessionKeySupplier sessionKeySupplierToUse)
AbstractFederationClientAuthenticationDetailsProviderBuilder
Build the actual provider.
buildProvider
in class AbstractFederationClientAuthenticationDetailsProviderBuilder<InstancePrincipalsAuthenticationDetailsProvider.InstancePrincipalsAuthenticationDetailsProviderBuilder,InstancePrincipalsAuthenticationDetailsProvider>
sessionKeySupplierToUse
- the session key supplier to usepublic InstancePrincipalsAuthenticationDetailsProvider build()
AbstractFederationClientAuthenticationDetailsProviderBuilder
Build a new AuthenticationDetailsProvider that uses the FederationClient.
build
in class AbstractFederationClientAuthenticationDetailsProviderBuilder<InstancePrincipalsAuthenticationDetailsProvider.InstancePrincipalsAuthenticationDetailsProviderBuilder,InstancePrincipalsAuthenticationDetailsProvider>
public InstancePrincipalsAuthenticationDetailsProvider.InstancePrincipalsAuthenticationDetailsProviderBuilder federationEndpoint(String federationEndpoint)
AbstractFederationClientAuthenticationDetailsProviderBuilder
Configures the custom federationEndpoint to use.
federationEndpoint
in class AbstractFederationClientAuthenticationDetailsProviderBuilder<InstancePrincipalsAuthenticationDetailsProvider.InstancePrincipalsAuthenticationDetailsProviderBuilder,InstancePrincipalsAuthenticationDetailsProvider>
federationEndpoint
- the federation endpointpublic InstancePrincipalsAuthenticationDetailsProvider.InstancePrincipalsAuthenticationDetailsProviderBuilder leafCertificateSupplier(X509CertificateSupplier leafCertificateSupplier)
AbstractFederationClientAuthenticationDetailsProviderBuilder
Configures the custom leafCertificateSupplier to use.
public InstancePrincipalsAuthenticationDetailsProvider.InstancePrincipalsAuthenticationDetailsProviderBuilder detectEndpointRetries(int detectEndpointRetries)
AbstractFederationClientAuthenticationDetailsProviderBuilder
Configures the custom retries to use for detecting endpoint.
detectEndpointRetries
in class AbstractFederationClientAuthenticationDetailsProviderBuilder<InstancePrincipalsAuthenticationDetailsProvider.InstancePrincipalsAuthenticationDetailsProviderBuilder,InstancePrincipalsAuthenticationDetailsProvider>
detectEndpointRetries
- the number of retriespublic InstancePrincipalsAuthenticationDetailsProvider.InstancePrincipalsAuthenticationDetailsProviderBuilder timeoutForEachRetry(int timeoutForEachRetry)
AbstractFederationClientAuthenticationDetailsProviderBuilder
Configures the custom timeout for each retry to use for detecting endpoint.
timeoutForEachRetry
in class AbstractFederationClientAuthenticationDetailsProviderBuilder<InstancePrincipalsAuthenticationDetailsProvider.InstancePrincipalsAuthenticationDetailsProviderBuilder,InstancePrincipalsAuthenticationDetailsProvider>
timeoutForEachRetry
- the custom timeoutCopyright © 2016–2024. All rights reserved.