Class OAuth2ResourceServerConfiguration.ResourceServerCondition
- java.lang.Object
- org.springframework.boot.autoconfigure.condition.SpringBootCondition
- org.springframework.boot.autoconfigure.security.oauth2.resource.OAuth2ResourceServerConfiguration.ResourceServerCondition
- All Implemented Interfaces:
org.springframework.context.annotation.Condition
,org.springframework.context.annotation.ConfigurationCondition
- Enclosing class:
- OAuth2ResourceServerConfiguration
protected static class OAuth2ResourceServerConfiguration.ResourceServerCondition extends SpringBootCondition implements org.springframework.context.annotation.ConfigurationCondition
Constructor Summary
Constructors Modifier Constructor Description protected
ResourceServerCondition()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.context.annotation.ConfigurationCondition.ConfigurationPhase
getConfigurationPhase()
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
ResourceServerCondition
protected ResourceServerCondition()
Method Detail
getConfigurationPhase
public org.springframework.context.annotation.ConfigurationCondition.ConfigurationPhase getConfigurationPhase()
- Specified by:
getConfigurationPhase
in interfaceorg.springframework.context.annotation.ConfigurationCondition
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