Class SimpleOIDCSubjectIdentifierCanonicalization.ActivationCondition
java.lang.Object
net.shibboleth.idp.plugin.authn.oidc.rp.impl.SimpleOIDCSubjectIdentifierCanonicalization.ActivationCondition
- All Implemented Interfaces:
Predicate<ProfileRequestContext>
- Enclosing class:
- SimpleOIDCSubjectIdentifierCanonicalization
public static class SimpleOIDCSubjectIdentifierCanonicalization.ActivationCondition
extends Object
implements Predicate<ProfileRequestContext>
A predicate that determines if this action can run or not.
-
Field Summary
Fields -
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 theSimpleOIDCSubjectIdentifierCanonicalization.doPreExecute(ProfileRequestContext, SubjectCanonicalizationContext)method above.booleantest(ProfileRequestContext input)
-
Field Details
-
log
@Nonnull private final org.slf4j.Logger logClass logger. -
disabled
private final boolean disabledDisable this C14N no matter how appropriate the context?
-
-
Constructor Details
-
ActivationCondition
Constructor.- Parameters:
disable- this C14N no matter how appropriate the context
-
-
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 theSimpleOIDCSubjectIdentifierCanonicalization.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
-