Class AbstractPageLogin
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
- 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:
AbstractPageRemoteAuthenticationSelect
,PageAbstractAuthenticationModule
,PageIdentityRecovery
,PageResetPassword
Umbrella class for each page that should have the look and feel of login page.
It is used as a base for:
. self-management pages, such as self-registration, password reset, invitation, . authentication module pages
This abstract page should not contain methods which are not used for both cases.
Basic intention is to provide common layout, such as a styles and title and description of the page. Possibility to change locale and implementation for back button.
- 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
ConstructorDescriptionAbstractPageLogin
(org.apache.wicket.request.mapper.parameter.PageParameters parameters) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addDefaultBodyStyle
(org.apache.wicket.markup.html.TransparentWebMarkupContainer body) protected void
protected abstract org.apache.wicket.model.IModel<String>
protected abstract org.apache.wicket.model.IModel<String>
protected abstract void
protected abstract boolean
protected boolean
isModuleApplicable
(ModuleAuthentication moduleAuthentication) protected void
protected void
protected void
void
renderHead
(org.apache.wicket.markup.head.IHeaderResponse response) protected void
saveException
(Exception exception) 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, onBeforeRender, onDetach, 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
-
Constructor Details
-
AbstractPageLogin
public AbstractPageLogin(org.apache.wicket.request.mapper.parameter.PageParameters parameters) -
AbstractPageLogin
public AbstractPageLogin()
-
-
Method Details
-
addDefaultBodyStyle
protected void addDefaultBodyStyle(org.apache.wicket.markup.html.TransparentWebMarkupContainer body) - Overrides:
addDefaultBodyStyle
in classPageAdminLTE
-
renderHead
public void renderHead(org.apache.wicket.markup.head.IHeaderResponse response) - Specified by:
renderHead
in interfaceorg.apache.wicket.markup.html.IHeaderContributor
- Overrides:
renderHead
in classorg.apache.wicket.Component
-
onInitialize
protected void onInitialize()- Overrides:
onInitialize
in classPageAdminLTE
-
isBackButtonVisible
protected abstract boolean isBackButtonVisible() -
initCustomLayout
protected abstract void initCustomLayout() -
getLoginPanelTitleModel
-
getLoginPanelDescriptionModel
-
onConfigure
protected void onConfigure()- Overrides:
onConfigure
in classorg.apache.wicket.Page
-
onAfterRender
protected void onAfterRender()- Overrides:
onAfterRender
in classorg.apache.wicket.markup.html.WebPage
-
saveException
-
cancelPerformed
protected void cancelPerformed() -
isModuleApplicable
-