SecurityConstants Class

  • java.lang.Object
    • com.microsoft.azure.servicebus.security.SecurityConstants

public class SecurityConstants

This class contains all security related constants.

Field Summary

Modifier and Type Field and Description
static final int DEFAULT_SAS_TOKEN_VALIDITY_IN_SECONDS

Default validity of a security token in seconds.

static final String JWT_TOKEN_TYPE

JSON web token type.

static final int MAX_KEY_LENGTH

Max allowed length for security key.

static final int MAX_KEY_NAME_LENGTH

Max allowed length for security key name.

static final String SAS_TOKEN_TYPE

Shared Access Signature token type.

static final String SERVICEBUS_AAD_AUDIENCE_RESOURCE_URL

Resource URI to be used, for all service bus entities, when requesting authentication token from Azure Active Directory.

Constructor Summary

Constructor Description
SecurityConstants()

Methods inherited from java.lang.Object

Field Details

DEFAULT_SAS_TOKEN_VALIDITY_IN_SECONDS

public static final int DEFAULT_SAS_TOKEN_VALIDITY_IN_SECONDS

Default validity of a security token in seconds.

JWT_TOKEN_TYPE

public static final String JWT_TOKEN_TYPE

JSON web token type.

MAX_KEY_LENGTH

public static final int MAX_KEY_LENGTH

Max allowed length for security key.

MAX_KEY_NAME_LENGTH

public static final int MAX_KEY_NAME_LENGTH

Max allowed length for security key name.

SAS_TOKEN_TYPE

public static final String SAS_TOKEN_TYPE

Shared Access Signature token type.

SERVICEBUS_AAD_AUDIENCE_RESOURCE_URL

public static final String SERVICEBUS_AAD_AUDIENCE_RESOURCE_URL

Resource URI to be used, for all service bus entities, when requesting authentication token from Azure Active Directory.

Constructor Details

SecurityConstants

public SecurityConstants()

Applies to