public class SetRPUIInformation
extends net.shibboleth.idp.profile.AbstractProfileAction
ProfileRequestContext with a RelyingPartyUIContext. The contents are populated
by applying the XXX| Modifier and Type | Field and Description |
|---|---|
private org.opensaml.saml.saml2.metadata.EntityDescriptor |
entityDescriptor
The
EntityDescriptor. |
private com.google.common.base.Function<org.opensaml.profile.context.ProfileRequestContext,org.opensaml.saml.common.messaging.context.SAMLMetadataContext> |
metadataContextLookupStrategy
Strategy function for access to
SAMLMetadataContext. |
private RelyingPartyUIContext |
rpUIContext
The RPUI context - we always create this in
doPreExecute(ProfileRequestContext). |
private com.google.common.base.Function<org.opensaml.profile.context.ProfileRequestContext,RelyingPartyUIContext> |
rpUIContextCreateStrategy
Strategy function to create the
RelyingPartyUIContext. |
private org.opensaml.saml.saml2.metadata.SPSSODescriptor |
spSSODescriptor
The
SPSSODescriptor. |
| Constructor and Description |
|---|
SetRPUIInformation() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doExecute(org.opensaml.profile.context.ProfileRequestContext profileRequestContext) |
protected boolean |
doPreExecute(org.opensaml.profile.context.ProfileRequestContext profileRequestContext) |
protected List<String> |
getBrowserLanguages()
Pluck the languages from the browser.
|
com.google.common.base.Function<org.opensaml.profile.context.ProfileRequestContext,org.opensaml.saml.common.messaging.context.SAMLMetadataContext> |
getMetadataContextLookupStrategy()
Get the mechanism to go from the
ProfileRequestContext to the SAMLMetadataContext. |
protected org.opensaml.saml.ext.saml2mdui.UIInfo |
getRPUInfo()
Get the RP
UIInfo, caching the value and consulting if needed. |
com.google.common.base.Function<org.opensaml.profile.context.ProfileRequestContext,RelyingPartyUIContext> |
gsetRPUIContextCreateStrategy()
Get the mechanism to create/get the
RelyingPartyUIContext from the ProfileRequestContext. |
void |
setMetadataContextLookupStrategy(com.google.common.base.Function<org.opensaml.profile.context.ProfileRequestContext,org.opensaml.saml.common.messaging.context.SAMLMetadataContext> strgy)
Set the mechanism to go from the
ProfileRequestContext to the SAMLMetadataContext. |
void |
setRPUIContextCreateStrategy(com.google.common.base.Function<org.opensaml.profile.context.ProfileRequestContext,RelyingPartyUIContext> strategy)
Set the mechanism to create/get the
RelyingPartyUIContext from the ProfileRequestContext. |
doExecute, execute, getMessage, getMessage, getMessage, getProfileContextLookupStrategy, getResult, setMessageSource, setProfileContextLookupStrategygetActivationCondition, setActivationConditiondoPostExecute, doPostExecute, execute, getHttpServletRequest, getHttpServletResponse, getLogPrefix, setHttpServletRequest, setHttpServletResponsedestroy, doDestroy, doInitialize, initialize, isDestroyed, isInitializedprivate com.google.common.base.Function<org.opensaml.profile.context.ProfileRequestContext,org.opensaml.saml.common.messaging.context.SAMLMetadataContext> metadataContextLookupStrategy
SAMLMetadataContext.private com.google.common.base.Function<org.opensaml.profile.context.ProfileRequestContext,RelyingPartyUIContext> rpUIContextCreateStrategy
RelyingPartyUIContext.private org.opensaml.saml.saml2.metadata.EntityDescriptor entityDescriptor
EntityDescriptor. If we cannot find this we short cut the {@link #doExecute(ProfileRequestContext)
stageprivate org.opensaml.saml.saml2.metadata.SPSSODescriptor spSSODescriptor
SPSSODescriptor. Not finding this is not fatalprivate RelyingPartyUIContext rpUIContext
doPreExecute(ProfileRequestContext).public com.google.common.base.Function<org.opensaml.profile.context.ProfileRequestContext,org.opensaml.saml.common.messaging.context.SAMLMetadataContext> getMetadataContextLookupStrategy()
ProfileRequestContext to the SAMLMetadataContext.public void setMetadataContextLookupStrategy(@Nonnull com.google.common.base.Function<org.opensaml.profile.context.ProfileRequestContext,org.opensaml.saml.common.messaging.context.SAMLMetadataContext> strgy)
ProfileRequestContext to the SAMLMetadataContext.strgy - what to set.public com.google.common.base.Function<org.opensaml.profile.context.ProfileRequestContext,RelyingPartyUIContext> gsetRPUIContextCreateStrategy()
RelyingPartyUIContext from the ProfileRequestContext.public void setRPUIContextCreateStrategy(@Nonnull com.google.common.base.Function<org.opensaml.profile.context.ProfileRequestContext,RelyingPartyUIContext> strategy)
RelyingPartyUIContext from the ProfileRequestContext.strategy - what to set.protected org.opensaml.saml.ext.saml2mdui.UIInfo getRPUInfo()
UIInfo, caching the value and consulting if needed.@Nonnull protected List<String> getBrowserLanguages()
protected boolean doPreExecute(org.opensaml.profile.context.ProfileRequestContext profileRequestContext)
doPreExecute in class org.opensaml.profile.action.AbstractConditionalProfileActionprotected void doExecute(org.opensaml.profile.context.ProfileRequestContext profileRequestContext)
doExecute in class org.opensaml.profile.action.AbstractProfileActionCopyright © 1999–2014. All rights reserved.