public final class RelyingPartyContext
extends org.opensaml.messaging.context.BaseContext
BaseContext containing relying party specific information, usually a
subcontext of ProfileRequestContext.| Modifier and Type | Field and Description |
|---|---|
private ProfileConfiguration |
profileConfiguration
Profile configuration that is in use.
|
private RelyingPartyConfiguration |
relyingPartyConfiguration
The relying party configuration.
|
private String |
relyingPartyId
The identifier for the relying party.
|
private org.opensaml.messaging.context.BaseContext |
relyingPartyIdContextTree
A pointer to a context tree containing identifying material for the relying party.
|
private com.google.common.base.Function<RelyingPartyContext,String> |
relyingPartyIdLookupStrategy
A lookup strategy for deriving a relying party ID based on contained information.
|
private com.google.common.base.Function<RelyingPartyContext,Boolean> |
verificationLookupStrategy
A lookup strategy for deriving verification based on the context.
|
private Boolean |
verified
Optional flag indicating whether verification was done.
|
| Constructor and Description |
|---|
RelyingPartyContext() |
| Modifier and Type | Method and Description |
|---|---|
RelyingPartyConfiguration |
getConfiguration()
Get the relying party configuration.
|
ProfileConfiguration |
getProfileConfig()
Get the configuration for the request profile currently being processed.
|
String |
getRelyingPartyId()
Get the unique identifier of the relying party.
|
org.opensaml.messaging.context.BaseContext |
getRelyingPartyIdContextTree()
Get the context tree containing identifying information for this relying party.
|
(package private) com.google.common.base.Function<RelyingPartyContext,String> |
getRelyingPartyIdLookupStrategy()
Get the lookup strategy for a non-explicit relying party ID.
|
(package private) com.google.common.base.Function<RelyingPartyContext,Boolean> |
getVerificationLookupStrategy()
Get the lookup strategy for a non-explicit verification determination.
|
boolean |
isVerified()
Get whether the relying party was verified in some fashion.
|
RelyingPartyContext |
setConfiguration(RelyingPartyConfiguration config)
Set the configuration to use when processing requests for this relying party.
|
RelyingPartyContext |
setProfileConfig(ProfileConfiguration config)
Set the configuration for the request profile currently being processed.
|
RelyingPartyContext |
setRelyingPartyId(String rpId)
Set the unique identifier of the relying party.
|
RelyingPartyContext |
setRelyingPartyIdContextTree(org.opensaml.messaging.context.BaseContext root)
Set the context tree containing identifying information for this relying party.
|
RelyingPartyContext |
setRelyingPartyIdLookupStrategy(com.google.common.base.Function<RelyingPartyContext,String> strategy)
Set the lookup strategy for a non-explicit relying party ID.
|
RelyingPartyContext |
setVerificationLookupStrategy(com.google.common.base.Function<RelyingPartyContext,Boolean> strategy)
Set the lookup strategy for a non-explicit verification determination.
|
RelyingPartyContext |
setVerified(Boolean flag)
Set whether the relying party was verified in some fashion.
|
addSubcontext, addSubcontext, clearSubcontexts, containsSubcontext, createSubcontext, getParent, getSubcontext, getSubcontext, getSubcontext, getSubcontext, isAutoCreateSubcontexts, iterator, removeSubcontext, removeSubcontext, setAutoCreateSubcontexts, setParent@Nullable private org.opensaml.messaging.context.BaseContext relyingPartyIdContextTree
@Nullable private com.google.common.base.Function<RelyingPartyContext,Boolean> verificationLookupStrategy
@Nullable private com.google.common.base.Function<RelyingPartyContext,String> relyingPartyIdLookupStrategy
@Nullable private RelyingPartyConfiguration relyingPartyConfiguration
@Nullable private ProfileConfiguration profileConfiguration
public boolean isVerified()
@Nonnull public RelyingPartyContext setVerified(@Nullable Boolean flag)
flag - explicit value for the verified setting@Nullable public String getRelyingPartyId()
@Nonnull public RelyingPartyContext setRelyingPartyId(@Nullable String rpId)
rpId - the relying party identifier, or null@Nullable public org.opensaml.messaging.context.BaseContext getRelyingPartyIdContextTree()
The subtree root may, but need not, be an actual subcontext of this context.
@Nonnull public RelyingPartyContext setRelyingPartyIdContextTree(@Nullable org.opensaml.messaging.context.BaseContext root)
The subtree root may, but need not, be an actual subcontext of this context.
root - root of context tree@Nullable com.google.common.base.Function<RelyingPartyContext,Boolean> getVerificationLookupStrategy()
@Nonnull public RelyingPartyContext setVerificationLookupStrategy(@Nonnull com.google.common.base.Function<RelyingPartyContext,Boolean> strategy)
strategy - lookup strategy@Nullable com.google.common.base.Function<RelyingPartyContext,String> getRelyingPartyIdLookupStrategy()
@Nonnull public RelyingPartyContext setRelyingPartyIdLookupStrategy(@Nonnull com.google.common.base.Function<RelyingPartyContext,String> strategy)
strategy - lookup strategy@Nullable public RelyingPartyConfiguration getConfiguration()
@Nonnull public RelyingPartyContext setConfiguration(@Nullable RelyingPartyConfiguration config)
config - configuration to use when processing requests for this relying party, or null@Nullable public ProfileConfiguration getProfileConfig()
@Nonnull public RelyingPartyContext setProfileConfig(@Nullable ProfileConfiguration config)
config - configuration for the request profile currently being processed, or nullCopyright © 1999–2014. All rights reserved.