@Requires(classes=io.micronaut.views.model.ViewModelProcessor.class) @ConfigurationProperties(value="micronaut.security.oauth2.end-session.view-model-processor") public class EndsessionViewModelProcessorConfigurationProperties extends java.lang.Object implements EndSessionViewModelProcessorConfiguration
ConfigurationProperties
implementation of EndSessionViewModelProcessorConfiguration
.Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_ENABLED
The default enable value.
|
static java.lang.String |
DEFAULT_ENDSESSIONURLKEY
The default key name.
|
static java.lang.String |
PREFIX |
Constructor and Description |
---|
EndsessionViewModelProcessorConfigurationProperties() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEndSessionUrlKey() |
boolean |
isEnabled() |
void |
setEnabled(boolean enabled)
Sets whether the
EndSessionViewModelProcessor is enabled. |
void |
setEndSessionUrlKey(java.lang.String endSessionUrlKey)
Model key name.
|
public static final java.lang.String PREFIX
public static final boolean DEFAULT_ENABLED
public static final java.lang.String DEFAULT_ENDSESSIONURLKEY
public EndsessionViewModelProcessorConfigurationProperties()
public boolean isEnabled()
isEnabled
in interface io.micronaut.core.util.Toggleable
EndSessionViewModelProcessor
public void setEnabled(boolean enabled)
EndSessionViewModelProcessor
is enabled. Default value (true).enabled
- True if is enabledpublic void setEndSessionUrlKey(java.lang.String endSessionUrlKey)
endSessionUrlKey
- the key name which will be used in the model map.public java.lang.String getEndSessionUrlKey()
getEndSessionUrlKey
in interface EndSessionViewModelProcessorConfiguration