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

com.microsoft.azure.servicebus.security.SecurityConstants Maven / Gradle / Ivy

Go to download

Java library for Azure Service Bus. Please note, a newer package com.azure:azure-messaging-servicebus for Azure Service Bus is available as of December 2020. While this package will continue to receive critical bug fixes, we strongly encourage you to upgrade. Read the migration guide at https://aka.ms/azsdk/java/migrate/sb for more details.

There is a newer version: 3.6.7
Show newest version
package com.microsoft.azure.servicebus.security;

/**
 * This class contains all security related constants.
 * @since 1.2.0
 *
 */
public class SecurityConstants {
    /**
     * Resource URI to be used, for all service bus entities, when requesting authentication token from Azure Active Directory.
     */
    public static final String SERVICEBUS_AAD_AUDIENCE_RESOURCE_URL = "https://servicebus.azure.net/";
    /**
     * JSON web token type.
     */
    public static final String JWT_TOKEN_TYPE = "jwt";
    /**
     * Shared Access Signature token type.
     */
    public static final String SAS_TOKEN_TYPE = "servicebus.windows.net:sastoken";
    /**
     * Default validity of a security token in seconds.
     */
    public static final int DEFAULT_SAS_TOKEN_VALIDITY_IN_SECONDS = 20*60; // 20 minutes
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy