public class ProfileInterceptorFlowDescriptor
extends net.shibboleth.utilities.java.support.component.AbstractIdentifiableInitializableComponent
implements com.google.common.base.Predicate<org.opensaml.profile.context.ProfileRequestContext>
A profile interceptor flow is designed to be injected into a profile flow to facilitate customization of the profile
flow. A profile interceptor flow must include an activation predicate to indicate suitability based on the content of
the ProfileRequestContext.
| Modifier and Type | Field and Description |
|---|---|
private com.google.common.base.Predicate<org.opensaml.profile.context.ProfileRequestContext> |
activationCondition
Predicate that must be true for this flow to be usable for a given request.
|
static String |
FLOW_ID_PREFIX
Prefix convention for flow IDs.
|
private org.opensaml.storage.StorageService |
storageService
Storage service for the results generated by this flow.
|
private boolean |
supportsNonBrowser
Whether this flow supports non-browser clients.
|
| Constructor and Description |
|---|
ProfileInterceptorFlowDescriptor()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(org.opensaml.profile.context.ProfileRequestContext input) |
boolean |
equals(Object obj) |
org.opensaml.storage.StorageService |
getStorageService()
Get the storage service.
|
int |
hashCode() |
boolean |
isNonBrowserSupported()
Get whether this flow supports non-browser clients.
|
void |
setActivationCondition(com.google.common.base.Predicate<org.opensaml.profile.context.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. |
void |
setNonBrowserSupported(boolean isSupported)
Set whether this flow supports non-browser clients.
|
void |
setStorageService(org.opensaml.storage.StorageService service)
Set the storage service.
|
String |
toString() |
setIddoInitialize, getIddestroy, doDestroy, initialize, isDestroyed, isInitialized@Nonnull @NotEmpty public static final String FLOW_ID_PREFIX
@Nonnull private com.google.common.base.Predicate<org.opensaml.profile.context.ProfileRequestContext> activationCondition
@Nullable private org.opensaml.storage.StorageService storageService
private boolean supportsNonBrowser
public ProfileInterceptorFlowDescriptor()
public void setActivationCondition(@Nonnull com.google.common.base.Predicate<org.opensaml.profile.context.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 isNonBrowserSupported()
public void setNonBrowserSupported(boolean isSupported)
isSupported - whether this flow supports non-browser clients@Nullable public org.opensaml.storage.StorageService getStorageService()
public void setStorageService(@Nonnull org.opensaml.storage.StorageService service)
service - the storage servicepublic boolean apply(org.opensaml.profile.context.ProfileRequestContext input)
apply in interface com.google.common.base.Predicate<org.opensaml.profile.context.ProfileRequestContext>public boolean equals(Object obj)
Copyright © 1999–2014. All rights reserved.