Class NimbusJsonWebTokenValidatorConfigurationProperties
java.lang.Object
io.micronaut.security.token.jwt.nimbus.NimbusJsonWebTokenValidatorConfigurationProperties
- All Implemented Interfaces:
NimbusJsonWebTokenValidatorConfiguration
@ConfigurationProperties("micronaut.security.token.jwt.nimbus")
public class NimbusJsonWebTokenValidatorConfigurationProperties
extends Object
implements NimbusJsonWebTokenValidatorConfiguration
ConfigurationProperties
implementation of NimbusJsonWebTokenValidatorConfiguration
.- Since:
- 4.11.1
- Author:
- Sergio del Amo
-
Field Summary
Modifier and TypeFieldDescriptionstatic final boolean
The default reactive validator value.static final boolean
The default enable value.static final String
The default reactive validator value. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
void
setReactiveValidator
(boolean reactiveValidator) Whether the beanNimbusReactiveJsonWebTokenValidator
is enabled.void
setValidator
(boolean validator) Whether the beanNimbusJsonWebTokenValidator
is enabled.
-
Field Details
-
PREFIX
The default reactive validator value.- See Also:
-
DEFAULT_REACTIVE_VALIDATOR
public static final boolean DEFAULT_REACTIVE_VALIDATORThe default reactive validator value.- See Also:
-
DEFAULT_VALIDATOR
public static final boolean DEFAULT_VALIDATORThe default enable value.- See Also:
-
-
Constructor Details
-
NimbusJsonWebTokenValidatorConfigurationProperties
public NimbusJsonWebTokenValidatorConfigurationProperties()
-
-
Method Details
-
isReactiveValidator
public boolean isReactiveValidator()- Specified by:
isReactiveValidator
in interfaceNimbusJsonWebTokenValidatorConfiguration
- Returns:
- Whether the bean
NimbusReactiveJsonWebTokenValidator
is enabled.
-
isValidator
public boolean isValidator()- Specified by:
isValidator
in interfaceNimbusJsonWebTokenValidatorConfiguration
- Returns:
- Whether the bean
NimbusJsonWebTokenValidator
is enabled.
-
setReactiveValidator
public void setReactiveValidator(boolean reactiveValidator) Whether the beanNimbusReactiveJsonWebTokenValidator
is enabled. Default value true.- Parameters:
reactiveValidator
- Whether the beanNimbusReactiveJsonWebTokenValidator
is enabled.
-
setValidator
public void setValidator(boolean validator) Whether the beanNimbusJsonWebTokenValidator
is enabled. Default value true.- Parameters:
validator
- Whether the beanNimbusJsonWebTokenValidator
is enabled.
-