public class ResourcePrincipalsFederationClient extends AbstractFederationClient
This class gets a security token from the auth service by signing the request with a PKI issued leaf certificate, passing along a temporary public key that is bounded to the the security token, and the leaf certificate.
additionalClientConfigurator, circuitBreaker, clientConfigurator, federationClient, resourcePrincipalTokenClient, sessionKeySupplier
Constructor and Description |
---|
ResourcePrincipalsFederationClient(String resourcePrincipalTokenEndpoint,
RptPathProvider resourcePrincipalTokenPathProvider,
String resourcePrincipalSessionTokenEndpoint,
SessionKeySupplier sessionKeySupplier,
InstancePrincipalsAuthenticationDetailsProvider instancePrincipalsAuthenticationDetailsProvider,
ClientConfigurator clientConfigurator,
CircuitBreakerConfiguration circuitBreakerConfiguration)
Constructor of ResourcePrincipalsFederationClient.
|
Modifier and Type | Method and Description |
---|---|
protected SecurityTokenAdapter |
getSecurityTokenFromServer()
Gets a security token from the federation server
|
getSecurityToken, getSecurityTokenAdapter, getStringClaim, makeClient, prepareRptCall, refreshAndGetSecurityToken, refreshAndGetSecurityTokenIfExpiringWithin, refreshAndGetSecurityTokenIfExpiringWithin, refreshAndGetSecurityTokenInner, requestSessionToken
public ResourcePrincipalsFederationClient(String resourcePrincipalTokenEndpoint, RptPathProvider resourcePrincipalTokenPathProvider, String resourcePrincipalSessionTokenEndpoint, SessionKeySupplier sessionKeySupplier, InstancePrincipalsAuthenticationDetailsProvider instancePrincipalsAuthenticationDetailsProvider, ClientConfigurator clientConfigurator, CircuitBreakerConfiguration circuitBreakerConfiguration)
Constructor of ResourcePrincipalsFederationClient.
resourcePrincipalTokenEndpoint
- the endpoint that can provide the resource principal
token.resourcePrincipalTokenPathProvider
- the path provider for the resource principal tokenresourcePrincipalSessionTokenEndpoint
- the endpoint that can provide the resource
principal session token.sessionKeySupplier
- the session key supplier.instancePrincipalsAuthenticationDetailsProvider
- the instance principals authentication
details provider.clientConfigurator
- the reset client configurator.protected SecurityTokenAdapter getSecurityTokenFromServer()
Gets a security token from the federation server
getSecurityTokenFromServer
in class AbstractFederationClient
Copyright © 2016–2024. All rights reserved.