public class SubjectCanonicalizationFlowDescriptor extends AbstractIdentifiableInitializableComponent implements 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 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(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 Predicate<ProfileRequestContext> activationCondition
public SubjectCanonicalizationFlowDescriptor()
public void setActivationCondition(@Nonnull 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 Predicate<ProfileRequestContext>public boolean equals(Object obj)
equals in interface Predicate<ProfileRequestContext>equals in class ObjectCopyright © 1999–2017 Shibboleth Consortium. All rights reserved.