Class ClientsConfiguredCondition
java.lang.Object
org.springframework.boot.autoconfigure.condition.SpringBootCondition
org.springframework.boot.autoconfigure.security.oauth2.client.ClientsConfiguredCondition
- All Implemented Interfaces:
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.
Condition that matches if any
spring.security.oauth2.client.registration
properties are defined.- Since:
- 2.1.0
- Author:
- Madhura Bhave
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptiongetMatchOutcome
(ConditionContext context, AnnotatedTypeMetadata metadata) Deprecated, for removal: This API element is subject to removal in a future version.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 Details
-
ClientsConfiguredCondition
public ClientsConfiguredCondition()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getMatchOutcome
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 classSpringBootCondition
- Parameters:
context
- the condition contextmetadata
- the annotation metadata- Returns:
- the condition outcome
-
@ConditionalOnOAuth2ClientRegistrationProperties