All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sap.cloud.sdk.cloudplatform.metering.AccessTokenDestination Maven / Gradle / Ivy

Go to download

Implementation of the Cloud platform abstraction for API metering functionality on the SAP Cloud Platform (Neo).

There is a newer version: 2.28.0
Show newest version
/*
 * Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved.
 */

package com.sap.cloud.sdk.cloudplatform.metering;

import javax.servlet.annotation.WebListener;

import com.sap.cloud.sdk.cloudplatform.connectivity.DestinationDeclarator;

/**
 * Specifies the destination necessary to receive an authentication token.
 */
@WebListener
public class AccessTokenDestination extends DestinationDeclarator
{
    private static final String DESTINATION_NAME = "AccessTokenEndpoint";

    /**
     * The name of the destination needed to obtain an access token.
     * 
     * @return The name of the authentication destination.
     */
    public static String getDefaultName()
    {
        return DESTINATION_NAME;
    }

    /**
     * Default constructor.
     */
    public AccessTokenDestination()
    {
        super(getDefaultName());
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy