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 |
|---|---|
| public static class | ResourcePrincipalsV3AuthenticationDetailsProvider.
Builder for ResourcePrincipalsAuthenticationDetailsProviderBuilder. |
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| pack-priv | ResourcePrincipalsV3AuthenticationDetailsProvider(FederationClient
federation client implementation. federationClient, SessionKeySupplier session key supplier implementation. sessionKeySupplier, Region the region region)Constructor of ResourcePrincipalAuthenticationDetailsProvider. |
| Modifier and Type | Method and Description |
|---|---|
| public static ResourcePrincipalsV3AuthenticationDetailsProvider. | Returns: A new builder instance.Hides com. Creates a new ResourcePrincipalsAuthenticationDetailsProvider. |
| public String | Returns: the refreshed authentication dataOverrides com. Implements com. Refreshes the authentication data used by the provider |
| OCI_RESOURCE_PRINCIPAL_PRIVATE_PEM_FOR_LEAF_RESOURCE | back to summary |
|---|---|
| private static final String OCI_RESOURCE_PRINCIPAL_PRIVATE_PEM_FOR_LEAF_RESOURCE | |
| OCI_RESOURCE_PRINCIPAL_PRIVATE_PEM_PASSPHRASE_FOR_LEAF_RESOURCE | back to summary |
|---|---|
| private static final String OCI_RESOURCE_PRINCIPAL_PRIVATE_PEM_PASSPHRASE_FOR_LEAF_RESOURCE | |
| OCI_RESOURCE_PRINCIPAL_REGION_FOR_LEAF_RESOURCE | back to summary |
|---|---|
| private static final String OCI_RESOURCE_PRINCIPAL_REGION_FOR_LEAF_RESOURCE | |
| OCI_RESOURCE_PRINCIPAL_RESOURCE_ID_FOR_LEAF_RESOURCE | back to summary |
|---|---|
| private static final String OCI_RESOURCE_PRINCIPAL_RESOURCE_ID_FOR_LEAF_RESOURCE | |
| OCI_RESOURCE_PRINCIPAL_RPST_ENDPOINT_FOR_LEAF_RESOURCE | back to summary |
|---|---|
| private static final String OCI_RESOURCE_PRINCIPAL_RPST_ENDPOINT_FOR_LEAF_RESOURCE | |
| OCI_RESOURCE_PRINCIPAL_RPST_ENDPOINT_FOR_PARENT_RESOURCE | back to summary |
|---|---|
| private static final String OCI_RESOURCE_PRINCIPAL_RPST_ENDPOINT_FOR_PARENT_RESOURCE | |
| OCI_RESOURCE_PRINCIPAL_RPST_FOR_LEAF_RESOURCE | back to summary |
|---|---|
| private static final String OCI_RESOURCE_PRINCIPAL_RPST_FOR_LEAF_RESOURCE | |
| OCI_RESOURCE_PRINCIPAL_RPT_ENDPOINT_FOR_LEAF_RESOURCE | back to summary |
|---|---|
| private static final String OCI_RESOURCE_PRINCIPAL_RPT_ENDPOINT_FOR_LEAF_RESOURCE | |
| OCI_RESOURCE_PRINCIPAL_RPT_URL_FOR_PARENT_RESOURCE | back to summary |
|---|---|
| private static final String OCI_RESOURCE_PRINCIPAL_RPT_URL_FOR_PARENT_RESOURCE | |
| OCI_RESOURCE_PRINCIPAL_TENANCY_ID_FOR_LEAF_RESOURCE | back to summary |
|---|---|
| private static final String OCI_RESOURCE_PRINCIPAL_TENANCY_ID_FOR_LEAF_RESOURCE | |
| OCI_RESOURCE_PRINCIPAL_VERSION_FOR_LEAF_RESOURCE | back to summary |
|---|---|
| private static final String OCI_RESOURCE_PRINCIPAL_VERSION_FOR_LEAF_RESOURCE | |
| RP_DEBUG_INFORMATION_LOG | back to summary |
|---|---|
| private static final String RP_DEBUG_INFORMATION_LOG Hides com. | |
| RP_VERSION_1_1 | back to summary |
|---|---|
| private static final String RP_VERSION_1_1 Hides com. | |
| ResourcePrincipalsV3AuthenticationDetailsProvider | back to summary |
|---|---|
| pack-priv ResourcePrincipalsV3AuthenticationDetailsProvider(FederationClient federationClient, SessionKeySupplier sessionKeySupplier, Region region) Constructor of ResourcePrincipalAuthenticationDetailsProvider.
| |
| builder | back to summary |
|---|---|
| public static ResourcePrincipalsV3AuthenticationDetailsProvider. Hides com. Creates a new ResourcePrincipalsAuthenticationDetailsProvider.
| |
| refresh | back to summary |
|---|---|
| public String refresh() Overrides com. Implements com. Refreshes the authentication data used by the provider | |
| Modifier and Type | Field and Description |
|---|---|
| private String | federationEndpointForParentResource
The federation endpoint/RPST endpoint for parent resource |
| private String | resourcePrincipalTokenUrlForParentResource
The endpoint that can provide the parent resource principal token. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ResourcePrincipalsV3AuthenticationDetailsProvider | Returns: A new provider instance.Build a new ResourcePrincipalsV3AuthenticationDetailsProvider. |
| public ResourcePrincipalsV3AuthenticationDetailsProvider | build(ResourcePrincipalAuthenticationDetailsProvider
instance of
ResourcePrincipalAuthenticationDetailsProvider for leaf resource leafResourceAuthProvider)Builds a new instance of ResourcePrincipalsV3AuthenticationDetailsProvider |
| public ResourcePrincipalAuthenticationDetailsProvider | Returns: ResourcePrincipalAuthenticationDetailsProviderHelper method that interprets the runtime environment to build a v2.2-configured leaf client |
| private FederationClient | createFederationClientForParentResource(ResourcePrincipalAuthenticationDetailsProvider leafResourceAuthProvider)
|
| protected void | |
| public ResourcePrincipalsV3AuthenticationDetailsProvider. | federationEndpointForParentResource(String federationEndpointForParentResource)
Configures the resourcePrincipalTokenUrlForParentResource to use. |
| public ResourcePrincipalsV3AuthenticationDetailsProvider. | resourcePrincipalTokenUrlForParentResource(String resourcePrincipalTokenUrlForParentResource)
Configures the resourcePrincipalTokenUrlForParentResource to use. |
| federationEndpointForParentResource | back to summary |
|---|---|
| private String federationEndpointForParentResource The federation endpoint/RPST endpoint for parent resource | |
| resourcePrincipalTokenUrlForParentResource | back to summary |
|---|---|
| private String resourcePrincipalTokenUrlForParentResource The endpoint that can provide the parent resource principal token. Required. | |
| ResourcePrincipalsV3AuthenticationDetailsProviderBuilder | back to summary |
|---|---|
| public ResourcePrincipalsV3AuthenticationDetailsProviderBuilder() | |
| build | back to summary |
|---|---|
| public ResourcePrincipalsV3AuthenticationDetailsProvider build() Build a new ResourcePrincipalsV3AuthenticationDetailsProvider.
| |
| build | back to summary |
|---|---|
| public ResourcePrincipalsV3AuthenticationDetailsProvider build(ResourcePrincipalAuthenticationDetailsProvider leafResourceAuthProvider) Builds a new instance of ResourcePrincipalsV3AuthenticationDetailsProvider
| |
| build_2_2_leaf | back to summary |
|---|---|
| public ResourcePrincipalAuthenticationDetailsProvider build_2_2_leaf(String ociResourcePrincipalPrivateKey, String ociResourcePrincipalPassphrase, String ociResourcePrincipalRpst, String ociResourcePrincipalRegion, String inputType) Helper method that interprets the runtime environment to build a v2.2-configured leaf client
| |
| createFederationClientForParentResource | back to summary |
|---|---|
| private FederationClient createFederationClientForParentResource(ResourcePrincipalAuthenticationDetailsProvider leafResourceAuthProvider) | |
| createRptPathProvider | back to summary |
|---|---|
protected void createRptPathProvider()
| |
| federationEndpointForParentResource | back to summary |
|---|---|
| public ResourcePrincipalsV3AuthenticationDetailsProvider. Configures the resourcePrincipalTokenUrlForParentResource to use. | |
| resourcePrincipalTokenUrlForParentResource | back to summary |
|---|---|
| public ResourcePrincipalsV3AuthenticationDetailsProvider. Configures the resourcePrincipalTokenUrlForParentResource to use. | |