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 TypeMethodDescriptioncreateSimpleTask
(String operation) static MidPointApplication
get()
Returns customizable comma-separated list of additional packages to scan.getClock()
Class<? extends PageAdminLTE>
getModel()
protected Class<? extends org.apache.wicket.markup.html.WebPage>
@NotNull SubscriptionState
protected Class<? extends org.apache.wicket.authroles.authentication.AbstractAuthenticatedWebSession>
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
-
newConverterLocator
protected org.apache.wicket.IConverterLocator newConverterLocator()- Overrides:
newConverterLocator
in classorg.apache.wicket.Application
-
getWebApplicationConfiguration
-
getSecurityEnforcer
-
getModel
-
getTaskManager
-
getLocalizationService
-
getAuditService
-
getSqlPerformanceMonitorsCollection
-
getRepositoryService
-
getCacheRegistry
-
getTaskService
-
getPrismContext
-
getSchemaService
-
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
-
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
-
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
-