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
public class ClientsConfiguredCondition extends SpringBootCondition
Condition that matches if anyspring.security.oauth2.client.registration
properties are defined.- Since:
- 2.1.0
Constructor Summary
Constructors Constructor Description ClientsConfiguredCondition()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConditionOutcome
getMatchOutcome(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata)
Determine the outcome of the match along with suitable log output.Methods inherited from class org.springframework.boot.autoconfigure.condition.SpringBootCondition
anyMatches, logOutcome, matches, matches
Constructor Detail
ClientsConfiguredCondition
public ClientsConfiguredCondition()
Method Detail
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 classSpringBootCondition
- Parameters:
context
- the condition contextmetadata
- the annotation metadata- Returns:
- the condition outcome