Class ClientsNotConfiguredCondition
java.lang.Object
org.springframework.boot.autoconfigure.condition.SpringBootCondition
org.springframework.boot.autoconfigure.security.oauth2.client.ClientsConfiguredCondition
org.camunda.bpm.spring.boot.starter.security.oauth2.impl.ClientsNotConfiguredCondition
- All Implemented Interfaces:
org.springframework.context.annotation.Condition
public class ClientsNotConfiguredCondition
extends org.springframework.boot.autoconfigure.security.oauth2.client.ClientsConfiguredCondition
Condition that matches if no
spring.security.oauth2.client.registration
properties are defined
by inverting the outcome of ClientsConfiguredCondition
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.boot.autoconfigure.condition.ConditionOutcome
getMatchOutcome
(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata) Methods inherited from class org.springframework.boot.autoconfigure.condition.SpringBootCondition
anyMatches, logOutcome, matches, matches
-
Constructor Details
-
ClientsNotConfiguredCondition
public ClientsNotConfiguredCondition()
-
-
Method Details
-
getMatchOutcome
public org.springframework.boot.autoconfigure.condition.ConditionOutcome getMatchOutcome(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata) - Overrides:
getMatchOutcome
in classorg.springframework.boot.autoconfigure.security.oauth2.client.ClientsConfiguredCondition
-