public static class NameIDCanonicalization.ActivationCondition extends Object implements Predicate<org.opensaml.profile.context.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(org.opensaml.profile.context.ProfileRequestContext input) |
boolean |
apply(org.opensaml.profile.context.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 org.opensaml.profile.context.ProfileRequestContext input)
protected boolean formatMatches(@Nonnull String format, @Nonnull SubjectCanonicalizationContext c14nContext)
format - the format to checkc14nContext - the current c14n contextpublic boolean apply(@Nonnull org.opensaml.profile.context.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–2017 Shibboleth Consortium. All rights reserved.