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 Details

    • OPERATION_LOAD_RESET_PASSWORD_POLICY

      protected static final String 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 class AbstractPageLogin
    • searchUser

      protected UserType searchUser()
    • initCustomLayout

      protected final void initCustomLayout()
      Specified by:
      initCustomLayout in class AbstractPageLogin
    • initModuleLayout

      protected abstract void initModuleLayout(MidpointForm form)
    • onBeforeRender

      protected void onBeforeRender()
      Overrides:
      onBeforeRender in class org.apache.wicket.Page
    • onAfterRender

      protected void onAfterRender()
      Overrides:
      onAfterRender in class AbstractPageLogin
    • confirmAuthentication

      protected void confirmAuthentication()
    • getUrlProcessingLogin

      protected String getUrlProcessingLogin()
    • onDetach

      protected void onDetach()
      Overrides:
      onDetach in class org.apache.wicket.Page
    • isBackButtonVisible

      protected final boolean isBackButtonVisible()
      Specified by:
      isBackButtonVisible in class AbstractPageLogin
    • getAuthenticationModuleConfiguration

      protected MA getAuthenticationModuleConfiguration()
    • resolveSecurityPolicy

      protected SecurityPolicyType resolveSecurityPolicy(PrismObject<UserType> user)
    • getForm

      public MidpointForm<?> getForm()
    • getArchetypeOid

      protected String getArchetypeOid()