Class StorageBackedSessionManager.DefaultConsistentAddressConditionFactory

java.lang.Object
net.shibboleth.idp.session.impl.StorageBackedSessionManager.DefaultConsistentAddressConditionFactory
Enclosing class:
StorageBackedSessionManager

public static class StorageBackedSessionManager.DefaultConsistentAddressConditionFactory
extends Object
Simplifies Spring wiring of a true/false condition for the consistentAddress feature.
Since:
4.0.0
  • Constructor Details

    • DefaultConsistentAddressConditionFactory

      public DefaultConsistentAddressConditionFactory()
  • Method Details

    • getDefaultConsistentAddressCondition

      @Nonnull public static BiPredicate<String,​String> getDefaultConsistentAddressCondition​(boolean flag)
      Returns a suitable BiPredicate to satisfy a simple true/false value for the consistentAddress feature.
      Parameters:
      flag - true/false value for the feature
      Returns:
      a BiPredicate that satisfies the input