Class SyncopeWebApplication
java.lang.Object
org.apache.wicket.Application
org.apache.wicket.protocol.http.WebApplication
org.apache.wicket.authroles.authentication.AuthenticatedWebApplication
com.giffing.wicket.spring.boot.starter.app.WicketBootSecuredWebApplication
org.apache.syncope.client.enduser.SyncopeWebApplication
- All Implemented Interfaces:
com.giffing.wicket.spring.boot.starter.app.WicketBootWebApplication
,IUnauthorizedComponentInstantiationListener
,IRoleCheckingStrategy
,IEventSink
,IMetadataContext<Object,
,Application> ISessionStore.UnboundListener
public class SyncopeWebApplication
extends com.giffing.wicket.spring.boot.starter.app.WicketBootSecuredWebApplication
-
Field Summary
Modifier and TypeFieldDescriptionprotected UserFormLayoutInfo
protected static final Logger
protected final ClassPathScanImplementationLookup
protected static final JsonMapper
protected final EnduserProperties
protected final ResourceLoader
protected final ServiceOps
Fields inherited from class org.apache.wicket.protocol.http.WebApplication
META_INF_RESOURCES
Fields inherited from class org.apache.wicket.Application
CONFIGURATION
-
Constructor Summary
ConstructorDescriptionSyncopeWebApplication
(ResourceLoader resourceLoader, EnduserProperties props, ClassPathScanImplementationLookup lookup, ServiceOps serviceOps, List<IResource> resources) -
Method Summary
Modifier and TypeMethodDescriptionprotected SyncopeUIRequestCycleListener
static SyncopeWebApplication
get()
protected IAuthorizationStrategy
long
getPageClass
(String name) getPageClass
(String name, Class<? extends BasePage> defaultValue) protected Class
<? extends AbstractAuthenticatedWebSession> protected void
init()
protected void
boolean
boolean
boolean
newAnonymousClient
(String domain) newSession
(Request request, Response response) Methods inherited from class com.giffing.wicket.spring.boot.starter.app.WicketBootSecuredWebApplication
getApplicationContext, getConfigurations, getConfigurationType, getGeneralSettingsProperties, setApplicationContext, setConfigurations, setGeneralSettingsProperties
Methods inherited from class org.apache.wicket.authroles.authentication.AuthenticatedWebApplication
hasAnyRole, onUnauthorizedInstantiation, onUnauthorizedPage, restartResponseAtSignInPage
Methods inherited from class org.apache.wicket.protocol.http.WebApplication
addResourceReplacement, addResourceReplacement, getAjaxRequestTargetListeners, getAjaxRequestTargetProvider, getAndRemoveBufferedResponse, getApplicationKey, 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, newConverterLocator, 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
-
LOG
-
MAPPER
-
resourceLoader
-
props
-
lookup
-
serviceOps
-
resources
-
customFormLayout
-
-
Constructor Details
-
SyncopeWebApplication
public SyncopeWebApplication(ResourceLoader resourceLoader, EnduserProperties props, ClassPathScanImplementationLookup lookup, ServiceOps serviceOps, List<IResource> resources)
-
-
Method Details
-
get
-
buildSyncopeUIRequestCycleListener
-
initSecurity
protected void initSecurity() -
init
protected void init()- Overrides:
init
in classcom.giffing.wicket.spring.boot.starter.app.WicketBootSecuredWebApplication
-
getAuthorizationStrategy
-
getHomePage
- Overrides:
getHomePage
in classcom.giffing.wicket.spring.boot.starter.app.WicketBootSecuredWebApplication
-
getLookup
-
getCustomFormLayout
-
getSidebar
-
newSession
- Overrides:
newSession
in classAuthenticatedWebApplication
-
newAnonymousClient
-
newClientFactory
-
getPageClass
-
getPageClass
-
getWebSessionClass
- Overrides:
getWebSessionClass
in classcom.giffing.wicket.spring.boot.starter.app.WicketBootSecuredWebApplication
-
getSignInPageClass
- Overrides:
getSignInPageClass
in classcom.giffing.wicket.spring.boot.starter.app.WicketBootSecuredWebApplication
-
getAdminUser
-
getAnonymousUser
-
isCaptchaEnabled
public boolean isCaptchaEnabled() -
isReportPropagationErrors
public boolean isReportPropagationErrors() -
isReportPropagationErrorDetails
public boolean isReportPropagationErrorDetails() -
getMaxWaitTimeInSeconds
public long getMaxWaitTimeInSeconds() -
getMaxUploadFileSizeMB
-