public class ResourcePrincipalsV3AuthenticationDetailsProvider extends ResourcePrincipalAuthenticationDetailsProvider
This constructs a default implementation of the ResourcePrincipalAuthenticationDetailsProvider
, integrates principal authentication services to
generate resource principal session token used for actual signing.
Also uses AuthCachingPolicy
to disable caching (as the values for signing requests may
be rotated periodically).
Modifier and Type | Class and Description |
---|---|
static class |
ResourcePrincipalsV3AuthenticationDetailsProvider.ResourcePrincipalsV3AuthenticationDetailsProviderBuilder
Builder for ResourcePrincipalsAuthenticationDetailsProviderBuilder.
|
ResourcePrincipalAuthenticationDetailsProvider.ClaimKeys, ResourcePrincipalAuthenticationDetailsProvider.ResourcePrincipalAuthenticationDetailsProviderBuilder
AbstractRequestingAuthenticationDetailsProvider.Builder<B extends AbstractRequestingAuthenticationDetailsProvider.Builder<B>>, AbstractRequestingAuthenticationDetailsProvider.CachingSessionKeySupplier
region, RP_VERSION_2_1, RP_VERSION_2_1_1, RP_VERSION_2_1_2, RP_VERSION_3_0
federationClient, sessionKeySupplier
Modifier and Type | Method and Description |
---|---|
static ResourcePrincipalsV3AuthenticationDetailsProvider.ResourcePrincipalsV3AuthenticationDetailsProviderBuilder |
builder()
Creates a new ResourcePrincipalsAuthenticationDetailsProvider.
|
String |
refresh()
Refreshes the authentication data used by the provider
|
getFederationClientFromRpst, getRegion, getRegion, getSessionKeySupplierFromPemAndPassphrase, getStringClaim, refreshIfExpiringWithin, refreshIfExpiringWithin
getKeyId, getPassPhrase, getPassphraseCharacters, getPrivateKey
public static ResourcePrincipalsV3AuthenticationDetailsProvider.ResourcePrincipalsV3AuthenticationDetailsProviderBuilder builder()
Creates a new ResourcePrincipalsAuthenticationDetailsProvider.
public String refresh()
Refreshes the authentication data used by the provider
refresh
in interface RefreshableOnNotAuthenticatedProvider<String>
refresh
in class ResourcePrincipalAuthenticationDetailsProvider
Copyright © 2016–2024. All rights reserved.