Class XsuaaConfiguredCondition

java.lang.Object
com.sap.cds.framework.spring.config.auth.xsuaa.XsuaaConfiguredCondition
All Implemented Interfaces:
org.springframework.context.annotation.Condition

public class XsuaaConfiguredCondition extends Object implements org.springframework.context.annotation.Condition
A Condition that helps to decide if XSUAA is configured or not. Note that the xsuaa properties could be injected via custom XsuaaServicePropertySourceFactory.
  • Constructor Details

    • XsuaaConfiguredCondition

      public XsuaaConfiguredCondition()
  • Method Details

    • matches

      public boolean matches(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata)
      Specified by:
      matches in interface org.springframework.context.annotation.Condition