Class CloudPakForDataServiceInstanceAuthenticator

  • All Implemented Interfaces:
    Authenticator

    public class CloudPakForDataServiceInstanceAuthenticator
    extends TokenRequestBasedAuthenticator<Cp4dToken,​Cp4dServiceInstanceTokenResponse>
    implements Authenticator
    This class provides an Authenticator implementation for the "CloudPakForData" environment. This authenticator will use the configured url and other properties to automatically fetch a service instance access token from the CloudPakForData token service. When the access token expires, a new access token will be fetched. This authenticator uses the "GET /v3/service_instances/{service_instance_id}/token" operation supported by the CloudPakForData token service. The url, username, apikey, and serviceInstanceId properties are required.