Package net.shibboleth.idp.authn.impl
Class X500SubjectCanonicalization.ActivationCondition
java.lang.Object
net.shibboleth.idp.authn.impl.X500SubjectCanonicalization.ActivationCondition
- All Implemented Interfaces:
Predicate<ProfileRequestContext>
- Enclosing class:
- X500SubjectCanonicalization
public static class X500SubjectCanonicalization.ActivationCondition
extends Object
implements Predicate<ProfileRequestContext>
A predicate that determines if this action can run or not.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanapply(ProfileRequestContext profileRequestContext, SubjectCanonicalizationContext c14nContext, boolean duringAction) Helper method that runs either as part of thePredicateor directly from theX500SubjectCanonicalization.doPreExecute(ProfileRequestContext, SubjectCanonicalizationContext)method above.booleantest(ProfileRequestContext input)
-
Constructor Details
-
ActivationCondition
public ActivationCondition()
-
-
Method Details
-
test
- Specified by:
testin interfacePredicate<ProfileRequestContext>
-
apply
public boolean apply(@Nonnull ProfileRequestContext profileRequestContext, @Nonnull SubjectCanonicalizationContext c14nContext, boolean duringAction) Helper method that runs either as part of thePredicateor directly from theX500SubjectCanonicalization.doPreExecute(ProfileRequestContext, SubjectCanonicalizationContext)method above.- Parameters:
profileRequestContext- the current profile request contextc14nContext- the current c14n contextduringAction- true iff the method is run from the action above- Returns:
- true iff the action can operate successfully on the candidate contexts
-