public class RelyingPartyConfiguration
extends net.shibboleth.utilities.java.support.component.AbstractIdentifiableInitializableComponent
implements net.shibboleth.utilities.java.support.component.IdentifiedComponent, com.google.common.base.Predicate<org.opensaml.profile.context.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 configuration to be active for a given request.
|
private boolean |
detailedErrors
Controls whether detailed information about errors should be exposed.
|
private Map<String,ProfileConfiguration> |
profileConfigurations
Registered and usable communication profile configurations for this relying party.
|
private String |
responderId
The entity ID of the IdP.
|
| Constructor and Description |
|---|
RelyingPartyConfiguration()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(org.opensaml.profile.context.ProfileRequestContext input) |
protected void |
doInitialize() |
ProfileConfiguration |
getProfileConfiguration(String profileId)
Get the profile configuration, for the relying party, for the given profile.
|
Map<String,ProfileConfiguration> |
getProfileConfigurations()
Get the unmodifiable set of profile configurations for this relying party.
|
String |
getResponderId()
Get the self-referential ID to use when responding to requests.
|
boolean |
isDetailedErrors()
Get whether detailed information about errors should be exposed.
|
void |
setActivationCondition(com.google.common.base.Predicate<org.opensaml.profile.context.ProfileRequestContext> condition)
Set the condition under which the relying party configuration should be active.
|
void |
setDetailedErrors(boolean flag)
Set whether detailed information about errors should be exposed.
|
void |
setProfileConfigurations(Collection<ProfileConfiguration> configs)
Set the profile configurations for this relying party.
|
void |
setResponderId(String responder)
Set the self-referential ID to use when responding to requests.
|
setIdgetIddestroy, doDestroy, initialize, isDestroyed, isInitializedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait@NonnullAfterInit @NotEmpty private String responderId
private boolean detailedErrors
@Nonnull @NonnullElements private Map<String,ProfileConfiguration> profileConfigurations
@Nonnull private com.google.common.base.Predicate<org.opensaml.profile.context.ProfileRequestContext> activationCondition
@Nonnull @NotEmpty public String getResponderId()
public void setResponderId(@Nonnull@NotEmpty String responder)
responder - ID to use when respondingpublic boolean isDetailedErrors()
public void setDetailedErrors(boolean flag)
flag - flag to set@Nonnull @NonnullElements @Unmodifiable @NotLive public Map<String,ProfileConfiguration> getProfileConfigurations()
@Nullable public ProfileConfiguration getProfileConfiguration(@Nullable String profileId)
Map.get(Object) on the return of getProfileConfigurations(). This map
contains no null entries, keys, or values.profileId - the ID of the profilepublic void setProfileConfigurations(@Nonnull@NonnullElements Collection<ProfileConfiguration> configs)
configs - the configurations to setpublic void setActivationCondition(@Nonnull com.google.common.base.Predicate<org.opensaml.profile.context.ProfileRequestContext> condition)
condition - the activation conditionprotected void doInitialize()
throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
doInitialize in class net.shibboleth.utilities.java.support.component.AbstractIdentifiedInitializableComponentnet.shibboleth.utilities.java.support.component.ComponentInitializationExceptionpublic boolean apply(@Nullable org.opensaml.profile.context.ProfileRequestContext input)
apply in interface com.google.common.base.Predicate<org.opensaml.profile.context.ProfileRequestContext>Copyright © 1999–2014. All rights reserved.