Class MidPointApplication
java.lang.Object
org.apache.wicket.Application
org.apache.wicket.protocol.http.WebApplication
org.apache.wicket.authroles.authentication.AuthenticatedWebApplication
com.evolveum.midpoint.web.security.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
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
Fields inherited from class org.apache.wicket.protocol.http.WebApplication
META_INF_RESOURCES
Fields inherited from class org.apache.wicket.Application
CONFIGURATION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.evolveum.midpoint.task.api.Task
createSimpleTask
(String operation) static MidPointApplication
get()
Returns customizable comma-separated list of additional packages to scan.com.evolveum.midpoint.repo.api.CacheRegistry
getClock()
com.evolveum.midpoint.repo.common.expression.ExpressionFactory
Class<? extends PageAdminLTE>
getModel()
com.evolveum.midpoint.repo.api.RepositoryService
com.evolveum.midpoint.security.api.SecurityContextManager
com.evolveum.midpoint.security.enforcer.api.SecurityEnforcer
protected Class<? extends org.apache.wicket.markup.html.WebPage>
com.evolveum.midpoint.repo.api.SqlPerformanceMonitorsCollection
@NotNull com.evolveum.midpoint.repo.common.subscription.SubscriptionState
com.evolveum.midpoint.task.api.TaskManager
protected Class<? extends org.apache.wicket.authroles.authentication.AbstractAuthenticatedWebSession>
com.evolveum.midpoint.cases.api.CaseManager
void
init()
protected org.apache.wicket.IConverterLocator
void
setApplicationContext
(@NotNull org.springframework.context.ApplicationContext applicationContext) Methods inherited from class org.apache.wicket.authroles.authentication.AuthenticatedWebApplication
hasAnyRole, newSession, onUnauthorizedInstantiation, onUnauthorizedPage, restartResponseAtSignInPage
Methods inherited from class org.apache.wicket.protocol.http.WebApplication
addResourceReplacement, addResourceReplacement, getAjaxRequestTargetListeners, getAjaxRequestTargetProvider, getAndRemoveBufferedResponse, getApplicationKey, getConfigurationType, getCspSettings, getFilterFactoryManager, getInitParameter, getMimeType, getServletContext, getSessionAttributePrefix, getWicketFilter, hasBufferedResponse, hasFilterFactoryManager, internalDestroy, internalInit, logEventTarget, logResponseTarget, mount, mountPackage, mountPage, mountResource, newAjaxRequestTarget, newWebRequest, newWebResponse, outputDevelopmentModeWarning, renderXmlDecl, sessionUnbound, setAjaxRequestTargetProvider, setConfigurationType, setCspSettings, setServletContext, setWicketFilter, storeBufferedResponse, unmount, validateInit
Methods inherited from class org.apache.wicket.Application
checkSettingsAvailable, configure, createRequestCycle, decorateHeaderResponse, exists, fetchCreateAndSetSession, get, getApplicationKeys, getApplicationListeners, getApplicationSettings, getBehaviorInstantiationListeners, getComponentInitializationListeners, getComponentInstantiationListeners, getComponentOnAfterRenderListeners, getComponentOnConfigureListeners, getComponentPostOnBeforeRenderListeners, getComponentPreOnBeforeRenderListeners, getConverterLocator, getDebugSettings, getExceptionMapperProvider, getExceptionSettings, getFrameworkSettings, getHeaderContributorListeners, getHeaderResponseDecorators, getInitializers, getJavaScriptLibrarySettings, getMapperContext, getMarkupSettings, getMetaData, getName, getOnComponentTagListeners, getPageFactory, getPageManagerProvider, getPageRendererProvider, getPageSettings, getRequestCycleListeners, getRequestCycleProvider, getRequestCycleSettings, getRequestLogger, getRequestLoggerSettings, getResourceBundles, getResourceReferenceRegistry, getResourceSettings, getRootRequestMapper, getRootRequestMapperAsCompound, getSecuritySettings, getSessionListeners, getSessionStore, getSessionStoreProvider, getSharedResources, getStoreSettings, initApplication, newMapperContext, newPageFactory, newRequestLogger, newResourceBundles, newResourceReferenceRegistry, newSharedResources, onDestroy, onEvent, setApplicationSettings, setDebugSettings, setExceptionMapperProvider, setExceptionSettings, setFrameworkSettings, setJavaScriptLibrarySettings, setMarkupSettings, setMetaData, setName, setPageManagerProvider, setPageRendererProvider, setPageSettings, setRequestCycleProvider, setRequestCycleSettings, setRequestLoggerSettings, setResourceSettings, setRootRequestMapper, setSecuritySettings, setSessionStoreProvider, setStoreSettings, usesDeploymentConfig, usesDevelopmentConfig
-
Field Details
-
MOUNT_INTERNAL_SERVER_ERROR
- See Also:
-
MOUNT_UNAUTHORIZED_ERROR
- See Also:
-
MOUNT_FORBIDDEN_ERROR
- See Also:
-
MOUNT_NOT_FOUND_ERROR
- See Also:
-
MOUNT_GONE_ERROR
- See Also:
-
-
Constructor Details
-
MidPointApplication
public MidPointApplication()
-
-
Method Details
-
getHomePage
- Specified by:
getHomePage
in classorg.apache.wicket.Application
-
init
public void init()- Overrides:
init
in classorg.apache.wicket.authroles.authentication.AuthenticatedWebApplication
-
getDeploymentInfo
-
getSubscriptionState
@NotNull public @NotNull com.evolveum.midpoint.repo.common.subscription.SubscriptionState getSubscriptionState() -
newConverterLocator
protected org.apache.wicket.IConverterLocator newConverterLocator()- Overrides:
newConverterLocator
in classorg.apache.wicket.Application
-
getWebApplicationConfiguration
-
getSecurityEnforcer
public com.evolveum.midpoint.security.enforcer.api.SecurityEnforcer getSecurityEnforcer() -
getModel
-
getTaskManager
public com.evolveum.midpoint.task.api.TaskManager getTaskManager() -
getLocalizationService
-
getAuditService
-
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() -
getTaskService
-
getPrismContext
-
getSchemaService
-
getExpressionFactory
public com.evolveum.midpoint.repo.common.expression.ExpressionFactory getExpressionFactory() -
getProtector
-
getRoleAnalysisService
-
getSignInPageClass
- Specified by:
getSignInPageClass
in classorg.apache.wicket.authroles.authentication.AuthenticatedWebApplication
-
getWebSessionClass
protected Class<? extends org.apache.wicket.authroles.authentication.AbstractAuthenticatedWebSession> getWebSessionClass()- Specified by:
getWebSessionClass
in classorg.apache.wicket.authroles.authentication.AuthenticatedWebApplication
-
getWorkflowService
-
getWorkflowManager
public com.evolveum.midpoint.cases.api.CaseManager getWorkflowManager() -
getModelInteractionService
-
getRelationRegistry
-
getCertificationService
-
getActivationComputer
-
getMatchingRuleRegistry
-
getSystemConfigurationIfAvailable
-
getAdditionalPackagesToScan
Returns customizable comma-separated list of additional packages to scan. This can be set with `midpoint.additionalPackagesToScan` property. -
get
-
createSimpleTask
-
getAsyncWebProcessManager
-
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 interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
getClock
-