public static class NameIDCanonicalization.ActivationCondition extends Object implements com.google.common.base.Predicate<ProfileRequestContext>
| Modifier and Type | Field and Description |
|---|---|
private org.slf4j.Logger |
log
Class logger.
|
| Constructor and Description |
|---|
NameIDCanonicalization.ActivationCondition() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(ProfileRequestContext input) |
boolean |
apply(ProfileRequestContext profileRequestContext,
SubjectCanonicalizationContext c14nContext,
boolean duringAction)
Helper method that runs either as part of the
Predicate or directly from the
NameIDCanonicalization.doPreExecute(ProfileRequestContext, SubjectCanonicalizationContext) method
above. |
protected boolean |
formatMatches(String format,
SubjectCanonicalizationContext c14nContext)
Check the format against the format list.
|
@Nonnull private org.slf4j.Logger log
public NameIDCanonicalization.ActivationCondition()
public boolean apply(@Nullable ProfileRequestContext input)
apply in interface com.google.common.base.Predicate<ProfileRequestContext>protected boolean formatMatches(@Nonnull String format, @Nonnull SubjectCanonicalizationContext c14nContext)
format - the format to checkc14nContext - the current c14n contextpublic boolean apply(@Nonnull ProfileRequestContext profileRequestContext, @Nonnull SubjectCanonicalizationContext c14nContext, boolean duringAction)
Predicate or directly from the
NameIDCanonicalization.doPreExecute(ProfileRequestContext, SubjectCanonicalizationContext) method
above.profileRequestContext - the current profile request contextc14nContext - the current c14n contextduringAction - true iff the method is run from the action aboveCopyright © 1999–2018 Shibboleth Consortium. All rights reserved.