public static class MonitorServlet.Configuration extends Object
Modifier and Type | Field | Description |
---|---|---|
static String |
API_TOKEN_SHA256_PROPERTY_NAME |
The property name for the SHA-256 hash of the API access
token.
|
String |
apiAccessTokenSHA256 |
The SHA-256 hash (in hexadecimal format) of the monitor API
access token, if
null the API is disabled. |
static String |
SECONDARY_API_TOKEN_SHA256_PROPERTY_NAME |
The property name for the SHA-256 hash of the secondary API
access token.
|
String |
secondaryAPIAccessTokenSHA256 |
The SHA-256 hash (in hexadecimal format) of the optional
secondary monitor API access token,
null if none. |
Constructor | Description |
---|---|
Configuration(Properties properties) |
Creates a new monitor servlet access token configuration.
|
public static final String API_TOKEN_SHA256_PROPERTY_NAME
public static final String SECONDARY_API_TOKEN_SHA256_PROPERTY_NAME
public final String apiAccessTokenSHA256
null
the API is disabled.public final String secondaryAPIAccessTokenSHA256
null
if none.public Configuration(Properties properties) throws ConfigurationException
properties
- The configuration properties, can be
overridden with system properties.ConfigurationException
- On a invalid configuration
property.Copyright © 2018 Connect2id. All rights reserved.