Class SecurityConstants
- java.lang.Object
-
- com.microsoft.azure.servicebus.security.SecurityConstants
-
public class SecurityConstants extends Object
This class contains all security related constants.- Since:
- 1.2.0
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_SAS_TOKEN_VALIDITY_IN_SECONDS
Default validity of a security token in seconds.static String
JWT_TOKEN_TYPE
JSON web token type.static int
MAX_KEY_LENGTH
Max allowed length for security key.static int
MAX_KEY_NAME_LENGTH
Max allowed length for security key name.static String
SAS_TOKEN_TYPE
Shared Access Signature token type.static 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
Constructors Constructor Description SecurityConstants()
-
-
-
Field Detail
-
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.- See Also:
- Constant Field Values
-
JWT_TOKEN_TYPE
public static final String JWT_TOKEN_TYPE
JSON web token type.- See Also:
- Constant Field Values
-
SAS_TOKEN_TYPE
public static final String SAS_TOKEN_TYPE
Shared Access Signature token type.- See Also:
- Constant Field Values
-
DEFAULT_SAS_TOKEN_VALIDITY_IN_SECONDS
public static final int DEFAULT_SAS_TOKEN_VALIDITY_IN_SECONDS
Default validity of a security token in seconds.- See Also:
- Constant Field Values
-
MAX_KEY_NAME_LENGTH
public static final int MAX_KEY_NAME_LENGTH
Max allowed length for security key name.- See Also:
- Constant Field Values
-
MAX_KEY_LENGTH
public static final int MAX_KEY_LENGTH
Max allowed length for security key.- See Also:
- Constant Field Values
-
-