public class InitializeAdministrativeProfileContextTree
extends net.shibboleth.idp.profile.AbstractProfileAction
AdministrativeFlowDescriptor to prepare
the profile context tree for subsequent use by an administrative profile flow.
This action finalizes settings like non-browser compatibility, and if instructed to do so,
decorates the context tree with a mocked up RelyingPartyContext and RelyingPartyUIContext.
EventIds.PROCEED_EVENT_ID, IdPEventIds.INVALID_PROFILE_CONFIGAdministrativeFlowDescriptor's ID must match ProfileRequestContext.getProfileId()| Modifier and Type | Field and Description |
|---|---|
private List<String> |
fallbackLanguages
The system wide languages to inspect if there is no match between metadata and browser.
|
private AdministrativeFlowDescriptor |
flowDescriptor
Descriptor of the administrative flow being run.
|
private org.slf4j.Logger |
log
Class logger.
|
| Constructor and Description |
|---|
InitializeAdministrativeProfileContextTree() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doExecute(ProfileRequestContext profileRequestContext) |
protected boolean |
doPreExecute(ProfileRequestContext profileRequestContext) |
private List<String> |
getBrowserLanguages()
Pluck the languages from the browser.
|
void |
setAdministrativeFlowDescriptor(AdministrativeFlowDescriptor descriptor)
Set the flow descriptor describing the administrative flow being run.
|
void |
setFallbackLanguages(List<String> langs)
Set the system wide default languages.
|
doExecute, execute, getMessage, getMessage, getMessage, getProfileContextLookupStrategy, getRequestContext, getResult, setMessageSource, setProfileContextLookupStrategygetActivationCondition, setActivationConditiondoPostExecute, doPostExecute, execute, getHttpServletRequest, getHttpServletResponse, getLogPrefix, setHttpServletRequest, setHttpServletResponsedestroy, doDestroy, doInitialize, initialize, isDestroyed, isInitializedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitialize, isInitialized@Nonnull private final org.slf4j.Logger log
@Nullable private AdministrativeFlowDescriptor flowDescriptor
public InitializeAdministrativeProfileContextTree()
public void setAdministrativeFlowDescriptor(@Nullable AdministrativeFlowDescriptor descriptor)
descriptor - the flow descriptor to base the action onpublic void setFallbackLanguages(@Nonnull@NonnullElements List<String> langs)
langs - a semi-colon separated string.protected boolean doPreExecute(@Nonnull ProfileRequestContext profileRequestContext)
doPreExecute in class AbstractConditionalProfileActionprotected void doExecute(@Nonnull ProfileRequestContext profileRequestContext)
doExecute in class AbstractProfileAction@Nonnull @NonnullElements private List<String> getBrowserLanguages()
Copyright © 1999–2019 Shibboleth Consortium. All rights reserved.