public class BindingDescriptor extends net.shibboleth.utilities.java.support.component.AbstractIdentifiableInitializableComponent implements Predicate<ProfileRequestContext>
Configuration logic should expose the usable bindings to profile actions through instances of this class.
| 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.
|
private boolean |
artifact
Identifies a binding that relies on SAML artifacts.
|
private String |
shortName
A short name for the binding.
|
private boolean |
signatureCapable
Indicates whether the binding provides a built-in signing mechanism.
|
private boolean |
synchronous
Identifies a binding that is direct request/response between two parties (i.e., SOAP).
|
| Constructor and Description |
|---|
BindingDescriptor()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(ProfileRequestContext input) |
boolean |
equals(Object obj) |
String |
getShortName()
Get a short/concise name for the binding.
|
int |
hashCode() |
boolean |
isArtifact()
Get whether the binding is artifact-based.
|
boolean |
isSignatureCapable()
Get whether the binding provides a message signature capability.
|
boolean |
isSynchronous()
Get whether the binding is synchronous (direct request/response, typically SOAP).
|
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 binding be allowed/possible. |
void |
setArtifact(boolean flag)
Set whether the binding is artifact-based.
|
void |
setShortName(String name)
Set a short/concise name for the binding.
|
void |
setSignatureCapable(boolean flag)
Set whether the binding provides a message signature capability.
|
void |
setSynchronous(boolean flag)
Set whether the binding is synchronous (direct request/response, typically SOAP).
|
String |
toString() |
setIddoInitialize, getIddestroy, doDestroy, initialize, isDestroyed, isInitialized@Nonnull private Predicate<ProfileRequestContext> activationCondition
private boolean synchronous
private boolean artifact
private boolean signatureCapable
public void setActivationCondition(@Nonnull 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 isSignatureCapable()
public void setSignatureCapable(boolean flag)
flag - flag to set@Nullable @NotEmpty public String getShortName()
public void setShortName(@Nullable@NotEmpty String name)
name - name to setpublic boolean apply(@Nullable ProfileRequestContext input)
apply in interface Predicate<ProfileRequestContext>public boolean equals(Object obj)
equals in interface Predicate<ProfileRequestContext>equals in class ObjectCopyright © 1999–2016 Shibboleth Consortium. All rights reserved.