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 Details

    • PREFIX

      public static final String PREFIX
      The default reactive validator value.
      See Also:
    • DEFAULT_REACTIVE_VALIDATOR

      public static final boolean DEFAULT_REACTIVE_VALIDATOR
      The default reactive validator value.
      See Also:
    • DEFAULT_VALIDATOR

      public static final boolean DEFAULT_VALIDATOR
      The default enable value.
      See Also:
  • Constructor Details

    • NimbusJsonWebTokenValidatorConfigurationProperties

      public NimbusJsonWebTokenValidatorConfigurationProperties()
  • Method Details

    • isReactiveValidator

      public boolean isReactiveValidator()
      Specified by:
      isReactiveValidator in interface NimbusJsonWebTokenValidatorConfiguration
      Returns:
      Whether the bean NimbusReactiveJsonWebTokenValidator is enabled.
    • isValidator

      public boolean isValidator()
      Specified by:
      isValidator in interface NimbusJsonWebTokenValidatorConfiguration
      Returns:
      Whether the bean NimbusJsonWebTokenValidator is enabled.
    • setReactiveValidator

      public void setReactiveValidator(boolean reactiveValidator)
      Whether the bean NimbusReactiveJsonWebTokenValidator is enabled. Default value true.
      Parameters:
      reactiveValidator - Whether the bean NimbusReactiveJsonWebTokenValidator is enabled.
    • setValidator

      public void setValidator(boolean validator)
      Whether the bean NimbusJsonWebTokenValidator is enabled. Default value true.
      Parameters:
      validator - Whether the bean NimbusJsonWebTokenValidator is enabled.