public class SubjectCanonicalizationFlowDescriptor extends AbstractIdentifiableInitializableComponent implements com.google.common.base.Predicate<ProfileRequestContext>
A flow models a sequence of profile actions that performs canonicalization of a Subject
into a string-form principal name. Flows can do essentially anything, including interact with the subject, but must
include an activation predicate to indicate their suitability based on the content of the
ProfileRequestContext, particularly the required
SubjectCanonicalizationContext child context.
| Modifier and Type | Field and Description |
|---|---|
private com.google.common.base.Predicate<ProfileRequestContext> |
activationCondition
Predicate that must be true for this flow to be usable for a given request.
|
| Constructor and Description |
|---|
SubjectCanonicalizationFlowDescriptor()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(ProfileRequestContext input) |
boolean |
equals(Object obj) |
int |
hashCode() |
void |
setActivationCondition(com.google.common.base.Predicate<ProfileRequestContext> condition)
Set the activation condition in the form of a
Predicate such that iff the condition evaluates to true
should the corresponding flow be allowed/possible. |
String |
toString() |
setIddoInitialize, getIddestroy, doDestroy, initialize, isDestroyed, isInitializedclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetId@Nonnull private com.google.common.base.Predicate<ProfileRequestContext> activationCondition
public SubjectCanonicalizationFlowDescriptor()
public void setActivationCondition(@Nonnull com.google.common.base.Predicate<ProfileRequestContext> condition)
Predicate such that iff the condition evaluates to true
should the corresponding flow be allowed/possible.condition - predicate that controls activation of the flowpublic boolean apply(ProfileRequestContext input)
apply in interface com.google.common.base.Predicate<ProfileRequestContext>public boolean equals(Object obj)
equals in interface com.google.common.base.Predicate<ProfileRequestContext>equals in class ObjectCopyright © 1999–2018 Shibboleth Consortium. All rights reserved.