@ConfigurationProperties(value="micronaut.security.token.propagation") public class TokenPropagationConfigurationProperties extends Object implements TokenPropagationConfiguration
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEFAULT_ENABLED
The default enable value.
|
static String |
DEFAULT_PATH
The default path.
|
static String |
PREFIX |
| Constructor and Description |
|---|
TokenPropagationConfigurationProperties() |
| Modifier and Type | Method and Description |
|---|---|
String |
getPath() |
Pattern |
getServiceIdPattern() |
String |
getServiceIdRegex() |
Pattern |
getUriPattern() |
String |
getUriRegex() |
boolean |
isEnabled() |
void |
setEnabled(boolean enabled)
Enables
TokenPropagationHttpClientFilter. |
void |
setPath(String path)
Configures
TokenPropagationHttpClientFilter path. |
void |
setServiceIdRegex(String serviceIdRegex)
a regular expression to match the service id.
|
void |
setUriRegex(String uriRegex)
a regular expression to match the uri.
|
public static final String PREFIX
public static final boolean DEFAULT_ENABLED
public static final String DEFAULT_PATH
public TokenPropagationConfigurationProperties()
public String getServiceIdRegex()
public void setServiceIdRegex(String serviceIdRegex)
serviceIdRegex - serviceId regular expressionpublic String getUriRegex()
public void setUriRegex(String uriRegex)
uriRegex - uri regular expressionpublic boolean isEnabled()
isEnabled in interface Toggleablepublic void setEnabled(boolean enabled)
TokenPropagationHttpClientFilter. Default value falseenabled - enabled flagpublic void setPath(String path)
TokenPropagationHttpClientFilter path. Default value "/**"path - Path to be matched by Token Propagation Filter.public String getPath()
getPath in interface TokenPropagationConfigurationpublic Pattern getServiceIdPattern()
getServiceIdPattern in interface OutgointRequestProcessorMatcherpublic Pattern getUriPattern()
getUriPattern in interface OutgointRequestProcessorMatcher