java.lang.Object
org.springframework.boot.autoconfigure.condition.SpringBootCondition
org.springframework.boot.autoconfigure.security.oauth2.resource.KeyValueCondition
All Implemented Interfaces:
org.springframework.context.annotation.Condition

public class KeyValueCondition extends SpringBootCondition
Condition for creating a jwt decoder using a public key value.
Since:
2.2.0
  • Constructor Details

    • KeyValueCondition

      public KeyValueCondition()
  • Method Details

    • getMatchOutcome

      public ConditionOutcome getMatchOutcome(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata)
      Description copied from class: SpringBootCondition
      Determine the outcome of the match along with suitable log output.
      Specified by:
      getMatchOutcome in class SpringBootCondition
      Parameters:
      context - the condition context
      metadata - the annotation metadata
      Returns:
      the condition outcome