Class ApacheShiroSecurityConfiguration.ApacheShiroPresentCondition

java.lang.Object
org.springframework.data.gemfire.config.annotation.ApacheShiroSecurityConfiguration.ApacheShiroPresentCondition
All Implemented Interfaces:
org.springframework.context.annotation.Condition
Enclosing class:
ApacheShiroSecurityConfiguration

public static class ApacheShiroSecurityConfiguration.ApacheShiroPresentCondition extends Object implements org.springframework.context.annotation.Condition
A Spring Condition to determine whether the user has included (declared) the 'shiro-spring' dependency on their application's classpath, which is necessary for configuring Apache Shiro to secure Apache Geode in a Spring context.
See Also:
  • Condition
  • Field Details

    • APACHE_SHIRO_LIFECYCLE_BEAN_POST_PROCESSOR_CLASS_NAME

      protected static final String APACHE_SHIRO_LIFECYCLE_BEAN_POST_PROCESSOR_CLASS_NAME
      See Also:
    • SPRING_DATA_GEMFIRE_SECURITY_SHIRO_ENABLED

      public static final String SPRING_DATA_GEMFIRE_SECURITY_SHIRO_ENABLED
      See Also:
  • Constructor Details

    • ApacheShiroPresentCondition

      public ApacheShiroPresentCondition()
  • 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