Class IntrospectionConfigurationProperties

java.lang.Object
io.micronaut.security.endpoints.introspection.IntrospectionConfigurationProperties
All Implemented Interfaces:
io.micronaut.core.util.Toggleable, IntrospectionConfiguration

@ConfigurationProperties("micronaut.security.endpoints.introspection") public class IntrospectionConfigurationProperties extends Object implements IntrospectionConfiguration
Since:
2.1.0
Author:
Sergio del Amo
  • Field Details

  • Constructor Details

    • IntrospectionConfigurationProperties

      public IntrospectionConfigurationProperties()
  • Method Details

    • isEnabled

      public boolean isEnabled()
      Specified by:
      isEnabled in interface io.micronaut.core.util.Toggleable
      Returns:
      true if you want to enable the introspection endpoint
    • getPath

      @NonNull public @NonNull String getPath()
      Specified by:
      getPath in interface IntrospectionConfiguration
      Returns:
      path
    • setEnabled

      public void setEnabled(boolean enabled)
      Enables IntrospectionController. Default value true
      Parameters:
      enabled - True if it is enabled
    • setPath

      public void setPath(@NonNull @NonNull String path)
      Path to the IntrospectionController. Default value "/token_info"
      Parameters:
      path - The path