Class PageSelfRegistration
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.PageRegistrationBase
com.evolveum.midpoint.gui.impl.page.login.PageAbstractFlow
com.evolveum.midpoint.gui.impl.page.login.PageSelfRegistration
- 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:
PageInvitation
- See Also:
-
Field Summary
Fields inherited from class com.evolveum.midpoint.gui.impl.page.login.PageAbstractFlow
ID_CONTENT_AREA, isSubmitted, OPERATION_SAVE_USER, pageParameters
Fields inherited from class com.evolveum.midpoint.gui.impl.page.login.PageRegistrationBase
OPERATION_LOAD_DYNAMIC_FORM
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
-
Method Summary
Modifier and TypeMethodDescriptionprotected NonceType
createNonce
(NonceCredentialsPolicyType noncePolicy, Task task, OperationResult result) protected PasswordType
createSimpleTask
(String operation) protected String
protected ObjectReferenceType
protected org.apache.wicket.model.IModel<String>
protected String
protected org.apache.wicket.model.IModel<String>
org.apache.wicket.model.IModel<UserType>
protected org.apache.wicket.markup.html.WebMarkupContainer
void
protected org.apache.wicket.markup.html.WebMarkupContainer
protected UserType
protected boolean
boolean
protected boolean
protected ObjectDelta<UserType>
prepareUserDelta
(Task task, OperationResult result) protected void
submitRegistration
(org.apache.wicket.ajax.AjaxRequestTarget target) Methods inherited from class com.evolveum.midpoint.gui.impl.page.login.PageAbstractFlow
createDynamicPanel, getDynamicFormPanel, getMainForm, updateCaptcha
Methods inherited from class com.evolveum.midpoint.gui.impl.page.login.PageRegistrationBase
addDefaultBodyStyle, getPostAuthenticationConfiguration, getSelfRegistrationConfiguration, resolveSecurityPolicy
Methods inherited from class com.evolveum.midpoint.gui.api.page.PageAdminLTE
addFeedbackPanel, createAnonymousTask, createComponentPath, createEnumResourceKey, createItemWrapper, createItemWrapper, createItemWrapper, createPageTitleModel, 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, onInitialize, redirectToNotFoundPage, runAsChecked, runPrivileged, showResult, showResult, showResult, showResult, showResult
Methods inherited from class org.apache.wicket.markup.html.WebPage
configureResponse, dirty, getMarkupType, homePageLink, onAfterRender, 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, onConfigure, 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, renderHead, 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
-
userModel
-
-
Constructor Details
-
PageSelfRegistration
public PageSelfRegistration() -
PageSelfRegistration
-
-
Method Details
-
initializeModel
public void initializeModel()- Specified by:
initializeModel
in classPageAbstractFlow
-
instantiateUser
-
getRequiredLifecycle
-
isSelfRegistrationAllowedFor
-
initStaticLayout
protected org.apache.wicket.markup.html.WebMarkupContainer initStaticLayout()- Specified by:
initStaticLayout
in classPageAbstractFlow
-
initDynamicLayout
protected org.apache.wicket.markup.html.WebMarkupContainer initDynamicLayout()- Specified by:
initDynamicLayout
in classPageAbstractFlow
-
getUserModel
- Specified by:
getUserModel
in classPageAbstractFlow
-
isCustomFormDefined
public boolean isCustomFormDefined()- Specified by:
isCustomFormDefined
in classPageAbstractFlow
-
submitRegistration
protected void submitRegistration(org.apache.wicket.ajax.AjaxRequestTarget target) - Specified by:
submitRegistration
in classPageAbstractFlow
-
getArchetypeOid
- Overrides:
getArchetypeOid
in classPageRegistrationBase
-
prepareUserDelta
protected ObjectDelta<UserType> prepareUserDelta(Task task, OperationResult result) throws CommonException - Throws:
CommonException
-
createNonce
protected NonceType createNonce(NonceCredentialsPolicyType noncePolicy, Task task, OperationResult result) throws ExpressionEvaluationException, SchemaException, ObjectNotFoundException, CommunicationException, ConfigurationException, SecurityViolationException -
createPassword
-
isBackButtonVisible
protected boolean isBackButtonVisible()- Overrides:
isBackButtonVisible
in classPageRegistrationBase
-
getCustomFormRef
- Specified by:
getCustomFormRef
in classPageAbstractFlow
-
createSimpleTask
- Specified by:
createSimpleTask
in interfaceModelServiceLocator
- Overrides:
createSimpleTask
in classPageAdminLTE
-
getTitleModel
- Overrides:
getTitleModel
in classPageRegistrationBase
-
getDescriptionModel
- Overrides:
getDescriptionModel
in classPageRegistrationBase
-