public static class MonitorServlet.Configuration extends Object
Modifier and Type | Field and Description |
---|---|
static String |
API_TOKEN_SHA256_PROPERTY_NAME
The property name for the SHA-256 hash of the API access
token.
|
SHA256BasedAccessTokenValidator |
apiAccessTokenSHA256
The SHA-256 hash based (in hexadecimal format) monitor API
access token validator, 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.
|
Constructor and 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 SHA256BasedAccessTokenValidator apiAccessTokenSHA256
null
the API is disabled.public Configuration(Properties properties) throws ConfigurationException
properties
- The configuration properties, can be
overridden with system properties.ConfigurationException
- On a invalid configuration
property.Copyright © 2020 Connect2id. All rights reserved.