public class BindingDescriptor extends net.shibboleth.utilities.java.support.component.AbstractIdentifiableInitializableComponent implements com.google.common.base.Predicate<ProfileRequestContext>
Configuration logic should expose the usable bindings to profile actions through instances of this class.
Constructor and Description |
---|
BindingDescriptor()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
apply(ProfileRequestContext input) |
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isArtifact()
Get whether the binding is artifact-based.
|
boolean |
isSynchronous()
Get whether the binding is synchronous (direct request/response, typically SOAP).
|
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 binding be allowed/possible. |
void |
setArtifact(boolean flag)
Set whether the binding is artifact-based.
|
void |
setSynchronous(boolean flag)
Set whether the binding is synchronous (direct request/response, typically SOAP).
|
String |
toString() |
setId
doInitialize, getId
destroy, doDestroy, initialize, isDestroyed, isInitialized
public void setActivationCondition(@Nonnull com.google.common.base.Predicate<ProfileRequestContext> condition)
Predicate
such that iff the condition
evaluates to true should the corresponding binding be allowed/possible.condition
- predicate that controls activation of the bindingpublic boolean isSynchronous()
public void setSynchronous(boolean flag)
flag
- flag to setpublic boolean isArtifact()
public void setArtifact(boolean flag)
flag
- flag to setpublic boolean apply(@Nullable 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 Object
Copyright © 2017. All rights reserved.