Class PageAbstractAuthenticationModule<MA extends com.evolveum.midpoint.authentication.api.config.ModuleAuthentication>
java.lang.Object
org.apache.wicket.Component
org.apache.wicket.MarkupContainer
org.apache.wicket.Page
org.apache.wicket.markup.html.WebPage
com.evolveum.midpoint.gui.api.page.PageAdminLTE
com.evolveum.midpoint.gui.impl.page.login.AbstractPageLogin
com.evolveum.midpoint.gui.impl.page.login.module.PageAbstractAuthenticationModule<MA>
- All Implemented Interfaces:
ModelServiceLocator
,Serializable
,Iterable<org.apache.wicket.Component>
,org.apache.wicket.event.IEventSink
,org.apache.wicket.event.IEventSource
,org.apache.wicket.feedback.IFeedbackContributor
,org.apache.wicket.IConverterLocator
,org.apache.wicket.IMetadataContext<Serializable,
,org.apache.wicket.Component> org.apache.wicket.IQueueRegion
,org.apache.wicket.markup.html.IHeaderContributor
,org.apache.wicket.page.IManageablePage
,org.apache.wicket.request.component.IRequestableComponent
,org.apache.wicket.request.component.IRequestablePage
,org.apache.wicket.util.IHierarchical<org.apache.wicket.Component>
,org.apache.wicket.util.io.IClusterable
- Direct Known Subclasses:
PageAbstractAttributeVerification
,PageArchetypeSelection
,PageEmailNonce
,PageFocusIdentification
,PageLogin
,PagePasswordHint
,PageSecurityQuestions
public abstract class PageAbstractAuthenticationModule<MA extends com.evolveum.midpoint.authentication.api.config.ModuleAuthentication>
extends AbstractPageLogin
Umbrella class for each page created for any authentication module.
If new module is added, page should be created extending this class.
This class do the common stuff such as preparing form with CSRF field,
adding links to actions such as self-registration, password reset,
username recovery.
- See Also:
-
Field Summary
Fields inherited from class com.evolveum.midpoint.gui.api.page.PageAdminLTE
ID_FEEDBACK_CONTAINER
Fields inherited from class org.apache.wicket.Component
ENABLE, FLAG_INITIALIZED, FLAG_RESERVED1, FLAG_RESERVED2, FLAG_RESERVED3, FLAG_RESERVED4, FLAG_RESERVED5, FLAG_RESERVED8, PARENT_PATH, PATH_SEPARATOR, RENDER, RFLAG_CONTAINER_DEQUEING, RFLAG_CONTAINER_HAS_REMOVALS
-
Constructor Summary
ConstructorDescriptionPageAbstractAuthenticationModule
(org.apache.wicket.request.mapper.parameter.PageParameters parameters) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected String
protected MA
MidpointForm<?>
getForm()
protected String
protected final void
protected abstract void
initModuleLayout
(MidpointForm form) protected final boolean
protected void
protected void
protected void
onDetach()
protected void
protected SecurityPolicyType
protected UserType
Methods inherited from class com.evolveum.midpoint.gui.impl.page.login.AbstractPageLogin
addDefaultBodyStyle, cancelPerformed, getLoginPanelDescriptionModel, getLoginPanelTitleModel, isModuleApplicable, onConfigure, renderHead, saveException
Methods inherited from class com.evolveum.midpoint.gui.api.page.PageAdminLTE
addFeedbackPanel, createAnonymousTask, createComponentPath, createEnumResourceKey, createItemWrapper, createItemWrapper, createItemWrapper, createPageTitleModel, createSimpleTask, createSimpleTask, createStringResource, createStringResource, createStringResource, createStringResource, createStringResource, createStringResource, createStringResourceDefault, createStringResourceStatic, createStringResourceStatic, createStringResourceStatic, createValueWrapper, executeOptions, findContainerWrapperFactory, findObjectPanel, findObjectWrapperFactory, findWrapperFactory, getAdminGuiConfigurationMergeManager, getAdministratorPrivileged, getApprovalsManager, getBulkActionsService, getCacheDispatcher, getCaseManager, getCaseService, getCertGuiHandlerRegistry, getCertificationService, getClock, getCompiledGuiProfile, getCorrelationService, getCounterProvider, getDashboardService, getDataProviderRegistry, getDescribe, getExpressionFactory, getFeedbackPanel, getFormValidatorRegistry, getLocalizationService, getMatchingRuleRegistry, getMidpointApplication, getMidpointConfiguration, getModelAuditService, getModelDiagnosticService, getModelInteractionService, getModelObjectResolver, getModelService, getObjectOperationPolicyHelper, getOperationOptionsBuilder, getPageTask, getPageTitleModel, getPrincipal, getPrincipalFocus, getPrismContext, getQueryConverter, getRegistry, getRelationRegistry, getReportManager, getRepositoryService, getResourceValidator, getRoleAnalysisService, getSchemaService, getSecurityContextManager, getSecurityEnforcer, getSessionStorage, getSimulationResultManager, getString, getString, getSubscriptionState, getTaskManager, getTaskService, getWebApplicationConfiguration, initItemPanel, isAuthorized, isAuthorized, isAuthorized, isNativeRepo, redirectToNotFoundPage, runAsChecked, runPrivileged, showResult, showResult, showResult, showResult, showResult
Methods inherited from class org.apache.wicket.markup.html.WebPage
configureResponse, dirty, getMarkupType, homePageLink, onRender, renderXmlDecl, reportMissingHead, setHeaders
Methods inherited from class org.apache.wicket.Page
componentChanged, componentRendered, detachModels, dirty, getAutoIndex, getId, getPageClass, getPageId, getPageParameters, getPageReference, getRenderCount, getSizeInBytes, getStatelessHint, hierarchyAsString, internalOnModelChanged, isBookmarkable, isErrorPage, isPageStateless, renderPage, setFreezePageId, setNumericId, setStatelessHint, setWasCreatedBookmarkable, toString, wasCreatedBookmarkable, wasRendered
Methods inherited from class org.apache.wicket.MarkupContainer
add, addDequeuedComponent, addOrReplace, autoAdd, canDequeueTag, contains, dequeue, dequeue, dequeuePreamble, findChildComponent, findComponentToDequeue, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getRegionMarkup, internalAdd, internalInitialize, iterator, iterator, newDequeueContext, onComponentTagBody, queue, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, stream, streamChildren, toString, visitChildren, visitChildren
Methods inherited from class org.apache.wicket.Component
add, addStateChange, beforeRender, canCallListener, canCallListenerAfterExpiry, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, clearOriginalDestination, configure, continueToOriginalDestination, createConverter, debug, detach, detachModel, determineVisibility, error, exceptionMessage, fatal, findMarkupStream, findPage, findParent, findParentWithAssociatedMarkup, getAjaxRegionMarkupId, getApplication, getBehaviorById, getBehaviorId, getBehaviors, getBehaviors, getClassRelativePath, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessages, getFlag, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkup, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdFromMarkup, getMarkupIdImpl, getMarkupSourcingStrategy, getMarkupTag, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getRequestFlag, getResponse, getSession, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalRenderComponent, internalRenderHead, isActionAuthorized, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isInitialized, isRenderAllowed, isRendering, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, markRendering, modelChanged, modelChanging, newMarkupSourcingStrategy, onComponentTag, onEvent, onModelChanged, onModelChanging, onReAdd, onRemove, redirectToInterceptPage, remove, remove, render, renderComponentTag, rendered, renderPart, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, send, setAuto, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setIgnoreAttributeModifier, setMarkup, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setParent, setRenderBodyOnly, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, success, urlFor, urlFor, urlFor, urlForListener, urlForListener, visitParents, visitParents, warn, wrap
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.wicket.page.IManageablePage
detach
Methods inherited from interface org.apache.wicket.IQueueRegion
dequeue, getRegionMarkup, newDequeueContext
Methods inherited from interface org.apache.wicket.request.component.IRequestableComponent
canCallListenerAfterExpiry, detach, get, getBehaviorById, getBehaviorId, getPage, getPageRelativePath
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface com.evolveum.midpoint.gui.api.util.ModelServiceLocator
getLocale
-
Field Details
-
OPERATION_LOAD_RESET_PASSWORD_POLICY
-
-
Constructor Details
-
PageAbstractAuthenticationModule
public PageAbstractAuthenticationModule(org.apache.wicket.request.mapper.parameter.PageParameters parameters) -
PageAbstractAuthenticationModule
public PageAbstractAuthenticationModule()
-
-
Method Details
-
onInitialize
protected void onInitialize()- Overrides:
onInitialize
in classAbstractPageLogin
-
searchUser
-
initCustomLayout
protected final void initCustomLayout()- Specified by:
initCustomLayout
in classAbstractPageLogin
-
initModuleLayout
-
onBeforeRender
protected void onBeforeRender()- Overrides:
onBeforeRender
in classorg.apache.wicket.Page
-
onAfterRender
protected void onAfterRender()- Overrides:
onAfterRender
in classAbstractPageLogin
-
confirmAuthentication
protected void confirmAuthentication() -
getUrlProcessingLogin
-
onDetach
protected void onDetach()- Overrides:
onDetach
in classorg.apache.wicket.Page
-
isBackButtonVisible
protected final boolean isBackButtonVisible()- Specified by:
isBackButtonVisible
in classAbstractPageLogin
-
getAuthenticationModuleConfiguration
-
resolveSecurityPolicy
-
getForm
-
getArchetypeOid
-