Package net.shibboleth.idp.session.impl
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BiPredicate<String,
String> getDefaultConsistentAddressCondition
(boolean flag) Returns a suitableBiPredicate
to satisfy a simple true/false value for the consistentAddress feature.
-
Constructor Details
-
DefaultConsistentAddressConditionFactory
public DefaultConsistentAddressConditionFactory()
-
-
Method Details
-
getDefaultConsistentAddressCondition
@Nonnull public static BiPredicate<String,String> getDefaultConsistentAddressCondition(boolean flag) Returns a suitableBiPredicate
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
-