Package net.shibboleth.idp.admin.impl
Class InitializeAdministrativeProfileContextTree
java.lang.Object
net.shibboleth.utilities.java.support.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 AdministrativeFlowDescriptor
Descriptor of the administrative flow being run.private final org.slf4j.Logger
Class logger. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
doExecute
(ProfileRequestContext profileRequestContext) protected boolean
doPreExecute
(ProfileRequestContext profileRequestContext) void
Set the flow descriptor describing the administrative flow being run.void
setFallbackLanguages
(List<String> langs) Set the system wide default languages.Methods inherited from class net.shibboleth.idp.profile.AbstractProfileAction
doExecute, execute, getMessage, getMessage, getMessage, getProfileContextLookupStrategy, getRequestContext, getResult, setMessageSource, setProfileContextLookupStrategy
Methods inherited from class org.opensaml.profile.action.AbstractConditionalProfileAction
getActivationCondition, setActivationCondition
Methods inherited from class org.opensaml.profile.action.AbstractProfileAction
doPostExecute, doPostExecute, execute, getHttpServletRequest, getHttpServletResponse, getLogPrefix, setHttpServletRequest, setHttpServletResponse
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
destroy, doDestroy, doInitialize, initialize, isDestroyed, isInitialized
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.shibboleth.utilities.java.support.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.
-
doPreExecute
- Overrides:
doPreExecute
in classAbstractConditionalProfileAction
-
doExecute
- Overrides:
doExecute
in classAbstractProfileAction
-