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
public class PageSelfRegistration extends PageAbstractFlow
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.wicket.model.IModel<UserType>userModel-
Fields inherited from class com.evolveum.midpoint.gui.impl.page.login.PageAbstractFlow
ID_CONTENT_AREA, 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
-
-
Constructor Summary
Constructors Constructor Description PageSelfRegistration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected NonceTypecreateNonce(NonceCredentialsPolicyType noncePolicy, Task task, OperationResult result)protected PasswordTypecreatePassword()TaskcreateSimpleTask(String operation)protected ObjectReferenceTypegetCustomFormRef()org.apache.wicket.model.IModel<UserType>getUserModel()protected org.apache.wicket.markup.html.WebMarkupContainerinitDynamicLayout()voidinitializeModel()protected org.apache.wicket.markup.html.WebMarkupContainerinitStaticLayout()protected UserTypeinstantiateUser()protected booleanisBackButtonVisible()booleanisCustomFormDefined()protected ObjectDelta<UserType>prepareUserDelta(Task task, OperationResult result)protected voidsubmitRegistration(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, getAuthenticationEvaluator, 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, createValueWrapper, executeOptions, findContainerWrapperFactory, findObjectPanel, findObjectWrapperFactory, findWrapperFactory, getAdminGuiConfigurationMergeManager, getAdministratorPrivileged, getApprovalsManager, getCacheDispatcher, getCaseManager, getCaseService, getCertificationService, getClock, getCompiledGuiProfile, getCorrelationService, getCounterProvider, getDashboardService, getDataProviderRegistry, getDescribe, getExpressionFactory, getFeedbackPanel, getFormValidatorRegistry, getLocalizationService, getMatchingRuleRegistry, getMidpointApplication, getMidpointConfiguration, getModelAuditService, getModelDiagnosticService, getModelInteractionService, getModelObjectResolver, getModelService, getOperationOptionsBuilder, getPageTask, getPageTitleModel, getPrincipal, getPrincipalFocus, getPrismContext, getQueryConverter, getRegistry, getRelationRegistry, getReportManager, getRepositoryService, getResourceValidator, getSchemaService, getScriptingService, getSecurityContextManager, getSecurityEnforcer, getSessionStorage, getString, getTaskManager, getTaskService, getWebApplicationConfiguration, initItemPanel, isAuthorized, isAuthorized, isAuthorized, isNativeRepo, onInitialize, redirectToNotFoundPage, runAsChecked, runPrivileged, 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, 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.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 Detail
-
userModel
protected org.apache.wicket.model.IModel<UserType> userModel
-
-
Method Detail
-
initializeModel
public void initializeModel()
- Specified by:
initializeModelin classPageAbstractFlow
-
instantiateUser
protected UserType instantiateUser()
-
initStaticLayout
protected org.apache.wicket.markup.html.WebMarkupContainer initStaticLayout()
- Specified by:
initStaticLayoutin classPageAbstractFlow
-
initDynamicLayout
protected org.apache.wicket.markup.html.WebMarkupContainer initDynamicLayout()
- Specified by:
initDynamicLayoutin classPageAbstractFlow
-
getUserModel
public org.apache.wicket.model.IModel<UserType> getUserModel()
- Specified by:
getUserModelin classPageAbstractFlow
-
isCustomFormDefined
public boolean isCustomFormDefined()
- Specified by:
isCustomFormDefinedin classPageAbstractFlow
-
submitRegistration
protected void submitRegistration(org.apache.wicket.ajax.AjaxRequestTarget target)
- Specified by:
submitRegistrationin classPageAbstractFlow
-
prepareUserDelta
protected ObjectDelta<UserType> prepareUserDelta(Task task, OperationResult result) throws SchemaException, ExpressionEvaluationException, ObjectNotFoundException, CommunicationException, ConfigurationException, SecurityViolationException
-
createNonce
protected NonceType createNonce(NonceCredentialsPolicyType noncePolicy, Task task, OperationResult result) throws ExpressionEvaluationException, SchemaException, ObjectNotFoundException, CommunicationException, ConfigurationException, SecurityViolationException
-
createPassword
protected PasswordType createPassword()
-
isBackButtonVisible
protected boolean isBackButtonVisible()
- Specified by:
isBackButtonVisiblein classPageAbstractFlow
-
getCustomFormRef
protected ObjectReferenceType getCustomFormRef()
- Specified by:
getCustomFormRefin classPageAbstractFlow
-
createSimpleTask
public Task createSimpleTask(String operation)
- Specified by:
createSimpleTaskin interfaceModelServiceLocator- Overrides:
createSimpleTaskin classPageAdminLTE
-
-