Package net.shibboleth.idp.admin.impl
Class InitializeAdministrativeProfileContextTree
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
org.opensaml.profile.action.AbstractProfileAction
org.opensaml.profile.action.AbstractConditionalProfileAction
net.shibboleth.idp.profile.AbstractProfileAction
net.shibboleth.idp.admin.impl.InitializeAdministrativeProfileContextTree
- All Implemented Interfaces:
Component,DestructableComponent,InitializableComponent,ProfileAction,Aware,MessageSource,MessageSourceAware,Action
An action that processes settings from a supplied
AdministrativeFlowDescriptor to prepare
the profile context tree for subsequent use by an administrative profile flow.
This action finalizes settings like non-browser compatibility, and decorates the context tree with
a mocked up RelyingPartyContext and RelyingPartyUIContext.
- Event:
EventIds.PROCEED_EVENT_ID,IdPEventIds.INVALID_PROFILE_CONFIG- Precondition:
- The injected
AdministrativeFlowDescriptor's ID must matchProfileRequestContext.getProfileId() - Postcondition:
- See above.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe system wide languages to inspect if there is no match between metadata and browser.private AdministrativeFlowDescriptorDescriptor of the administrative flow being run.private final org.slf4j.LoggerClass logger. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoExecute(ProfileRequestContext profileRequestContext) protected booleandoPreExecute(ProfileRequestContext profileRequestContext) private AdministrativeFlowDescriptorGet theAdministrativeFlowDescriptorto operate on.voidSet the flow descriptor describing the administrative flow being run.voidsetFallbackLanguages(List<String> langs) Set the system wide default languages.Methods inherited from class net.shibboleth.idp.profile.AbstractProfileAction
doExecute, execute, getBean, getBean, getMessage, getMessage, getMessage, getParameter, getParameter, getProfileContextLookupStrategy, getRequestContext, getResult, setMessageSource, setProfileContextLookupStrategyMethods inherited from class org.opensaml.profile.action.AbstractConditionalProfileAction
getActivationCondition, setActivationConditionMethods inherited from class org.opensaml.profile.action.AbstractProfileAction
doPostExecute, doPostExecute, ensureHttpServletRequest, ensureHttpServletResponse, execute, getHttpServletRequest, getHttpServletRequestSupplier, getHttpServletResponse, getHttpServletResponseSupplier, getLogPrefix, isPreExecuteCalled, setHttpServletRequestSupplier, setHttpServletResponseSupplierMethods inherited from class net.shibboleth.shared.component.AbstractInitializableComponent
checkComponentActive, checkSetterPreconditions, destroy, doDestroy, doInitialize, ifDestroyedThrowDestroyedComponentException, ifInitializedThrowUnmodifiabledComponentException, ifNotInitializedThrowUninitializedComponentException, initialize, isDestroyed, isInitializedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.shibboleth.shared.component.InitializableComponent
initialize, isInitialized
-
Field Details
-
log
@Nonnull private final org.slf4j.Logger logClass logger. -
flowDescriptor
Descriptor of the administrative flow being run. -
fallbackLanguages
The system wide languages to inspect if there is no match between metadata and browser.
-
-
Constructor Details
-
InitializeAdministrativeProfileContextTree
public InitializeAdministrativeProfileContextTree()
-
-
Method Details
-
setAdministrativeFlowDescriptor
Set the flow descriptor describing the administrative flow being run.- Parameters:
descriptor- the flow descriptor to base the action on
-
setFallbackLanguages
Set the system wide default languages.- Parameters:
langs- a semi-colon separated string.
-
getFlowDescriptor
Get theAdministrativeFlowDescriptorto operate on.- Returns:
- the flowDescriptor
-
doPreExecute
- Overrides:
doPreExecutein classAbstractConditionalProfileAction
-
doExecute
- Overrides:
doExecutein classAbstractProfileAction
-