@ConfigurationProperties(value="micronaut.security.x509") public class X509ConfigurationProperties extends java.lang.Object implements X509Configuration
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_ENABLED
The default enabled value.
|
static java.lang.String |
DEFAULT_SUBJECT_DN_REGEX
The default Subject Distinguished Name (DN) regex.
|
static java.lang.String |
PREFIX |
Constructor and Description |
---|
X509ConfigurationProperties() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getSubjectDnRegex() |
boolean |
isEnabled() |
void |
setEnabled(boolean enabled)
Enables the
X509AuthenticationFetcher . |
void |
setSubjectDnRegex(java.lang.String subjectDnRegex)
Set the Subject DN regex.
|
public static final java.lang.String PREFIX
public static final boolean DEFAULT_ENABLED
public static final java.lang.String DEFAULT_SUBJECT_DN_REGEX
@NonNull public java.lang.String getSubjectDnRegex()
getSubjectDnRegex
in interface X509Configuration
public void setSubjectDnRegex(@NonNull java.lang.String subjectDnRegex)
subjectDnRegex
- the regexpublic boolean isEnabled()
isEnabled
in interface io.micronaut.core.util.Toggleable
public void setEnabled(boolean enabled)
X509AuthenticationFetcher
. Default value false.enabled
- true if enabled