@ConfigurationProperties(value="micronaut.security.token.propagation") public class TokenPropagationConfigurationProperties extends AbstractOutgoingRequestProcessorMatcher implements TokenPropagationConfiguration
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_ENABLED
The default enable value.
|
static java.lang.String |
DEFAULT_PATH
The default path.
|
static java.lang.String |
PREFIX |
serviceIdPattern, serviceIdRegex, uriPattern, uriRegex
Constructor and Description |
---|
TokenPropagationConfigurationProperties() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPath() |
boolean |
isEnabled() |
void |
setEnabled(boolean enabled)
Enables
TokenPropagationHttpClientFilter . |
void |
setPath(java.lang.String path)
Configures
TokenPropagationHttpClientFilter path. |
getServiceIdPattern, getServiceIdRegex, getUriPattern, getUriRegex, setServiceIdRegex, setUriRegex
public static final java.lang.String PREFIX
public static final boolean DEFAULT_ENABLED
public static final java.lang.String DEFAULT_PATH
public TokenPropagationConfigurationProperties()
public boolean isEnabled()
isEnabled
in interface io.micronaut.core.util.Toggleable
public void setEnabled(boolean enabled)
TokenPropagationHttpClientFilter
. Default value falseenabled
- enabled flagpublic void setPath(java.lang.String path)
TokenPropagationHttpClientFilter
path. Default value "/**"path
- Path to be matched by Token Propagation Filter.public java.lang.String getPath()
getPath
in interface TokenPropagationConfiguration