Class LegacyEncryptionRequirementPredicate
java.lang.Object
org.opensaml.profile.logic.NoConfidentialityMessageChannelPredicate
net.shibboleth.idp.saml.profile.config.logic.LegacyEncryptionRequirementPredicate
- All Implemented Interfaces:
Predicate<ProfileRequestContext>
,Predicate<ProfileRequestContext>
public class LegacyEncryptionRequirementPredicate extends NoConfidentialityMessageChannelPredicate
A predicate implementation that supports the legacy V2 configuration options of
"always", "conditional", and "never" for encryption.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
LegacyEncryptionRequirementPredicate.EncryptionRequirementSetting
Internal enum for the options supported. -
Field Summary
Fields Modifier and Type Field Description private LegacyEncryptionRequirementPredicate.EncryptionRequirementSetting
settingToApply
The setting in effect. -
Constructor Summary
Constructors Constructor Description LegacyEncryptionRequirementPredicate(String setting)
Constructor. -
Method Summary
Modifier and Type Method Description boolean
test(ProfileRequestContext input)
-
Field Details
-
settingToApply
The setting in effect.
-
-
Constructor Details
-
LegacyEncryptionRequirementPredicate
Constructor.- Parameters:
setting
- the setting to apply
-
-
Method Details
-
test
- Specified by:
test
in interfacePredicate<ProfileRequestContext>
- Overrides:
test
in classNoConfidentialityMessageChannelPredicate
-