Class ClientsConfiguredCondition

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

@Deprecated(since="3.5.0", forRemoval=true) public class ClientsConfiguredCondition extends SpringBootCondition
Deprecated, for removal: This API element is subject to removal in a future version.
since 3.5.0 for removal in 4.0.0 in favor of @ConditionalOnOAuth2ClientRegistrationProperties
Condition that matches if any spring.security.oauth2.client.registration properties are defined.
Since:
2.1.0
  • Constructor Details

    • ClientsConfiguredCondition

      public ClientsConfiguredCondition()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getMatchOutcome

      public ConditionOutcome getMatchOutcome(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata)
      Deprecated, for removal: This API element is subject to removal in a future version.
      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