public static class MonitorServlet.Configuration extends Object
Modifier and Type | Field and Description |
---|---|
static String |
API_TOKEN_PROPERTY_NAME
The property name for the API access token.
|
com.nimbusds.oauth2.sdk.token.BearerAccessToken |
apiAccessToken
The monitor API access token.
|
static int |
MIN_TOKEN_LENGTH
The min accepted web access token character length.
|
static String |
SECONDARY_API_TOKEN_PROPERTY_NAME
The property name for the secondary API access token.
|
com.nimbusds.oauth2.sdk.token.BearerAccessToken |
secondaryAPIAccessToken
Optional secondary monitor API access token.
|
Constructor and Description |
---|
Configuration(Properties properties)
Creates a new monitor servlet access token configuration.
|
public static final String API_TOKEN_PROPERTY_NAME
public static final String SECONDARY_API_TOKEN_PROPERTY_NAME
public static final int MIN_TOKEN_LENGTH
public final com.nimbusds.oauth2.sdk.token.BearerAccessToken apiAccessToken
public final com.nimbusds.oauth2.sdk.token.BearerAccessToken secondaryAPIAccessToken
public Configuration(Properties properties) throws ConfigurationException
properties
- The configuration properties, can be
overridden with system properties.ConfigurationException
- On a invalid configuration
property.Copyright © 2017 Connect2id. All rights reserved.