Class MidPointApplication

  • All Implemented Interfaces:
    org.apache.wicket.authorization.IUnauthorizedComponentInstantiationListener, org.apache.wicket.authroles.authorization.strategies.role.IRoleCheckingStrategy, org.apache.wicket.event.IEventSink, org.apache.wicket.IMetadataContext<Object,​org.apache.wicket.Application>, org.apache.wicket.session.ISessionStore.UnboundListener, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

    public class MidPointApplication
    extends org.apache.wicket.authroles.authentication.AuthenticatedWebApplication
    implements org.springframework.context.ApplicationContextAware
    Author:
    lazyman
    • Constructor Detail

      • MidPointApplication

        public MidPointApplication()
    • Method Detail

      • getHomePage

        public Class<? extends PageAdminLTE> getHomePage()
        Specified by:
        getHomePage in class org.apache.wicket.Application
      • init

        public void init()
        Overrides:
        init in class org.apache.wicket.authroles.authentication.AuthenticatedWebApplication
      • getSubscriptionType

        @NotNull
        public com.evolveum.midpoint.repo.common.util.SubscriptionUtil.SubscriptionType getSubscriptionType()
      • newConverterLocator

        protected org.apache.wicket.IConverterLocator newConverterLocator()
        Overrides:
        newConverterLocator in class org.apache.wicket.Application
      • getSecurityEnforcer

        public com.evolveum.midpoint.security.enforcer.api.SecurityEnforcer getSecurityEnforcer()
      • getTaskManager

        public com.evolveum.midpoint.task.api.TaskManager getTaskManager()
      • getSqlPerformanceMonitorsCollection

        public com.evolveum.midpoint.repo.api.SqlPerformanceMonitorsCollection getSqlPerformanceMonitorsCollection()
      • getRepositoryService

        public com.evolveum.midpoint.repo.api.RepositoryService getRepositoryService()
      • getCacheRegistry

        public com.evolveum.midpoint.repo.api.CacheRegistry getCacheRegistry()
      • getExpressionFactory

        public com.evolveum.midpoint.repo.common.expression.ExpressionFactory getExpressionFactory()
      • getProtector

        public Protector getProtector()
      • getSignInPageClass

        protected Class<? extends org.apache.wicket.markup.html.WebPage> getSignInPageClass()
        Specified by:
        getSignInPageClass in class org.apache.wicket.authroles.authentication.AuthenticatedWebApplication
      • getWebSessionClass

        protected Class<? extends org.apache.wicket.authroles.authentication.AbstractAuthenticatedWebSession> getWebSessionClass()
        Specified by:
        getWebSessionClass in class org.apache.wicket.authroles.authentication.AuthenticatedWebApplication
      • getWorkflowService

        public CaseService getWorkflowService()
      • getWorkflowManager

        public com.evolveum.midpoint.cases.api.CaseManager getWorkflowManager()
      • containsLocale

        public static boolean containsLocale​(Locale locale)
      • getDefaultLocale

        public static Locale getDefaultLocale()
      • getAdditionalPackagesToScan

        public String getAdditionalPackagesToScan()
        Returns customizable comma-separated list of additional packages to scan. This can be set with `midpoint.additionalPackagesToScan` property.
      • createSimpleTask

        public com.evolveum.midpoint.task.api.Task createSimpleTask​(String operation)
      • getSecurityContextManager

        public com.evolveum.midpoint.security.api.SecurityContextManager getSecurityContextManager()
      • setApplicationContext

        public void setApplicationContext​(@NotNull
                                          @NotNull org.springframework.context.ApplicationContext applicationContext)
                                   throws org.springframework.beans.BeansException
        Specified by:
        setApplicationContext in interface org.springframework.context.ApplicationContextAware
        Throws:
        org.springframework.beans.BeansException
      • getClock

        public Clock getClock()