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,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
public class SyncopeWebApplication extends com.giffing.wicket.spring.boot.starter.app.WicketBootSecuredWebApplication
-
-
Field Summary
Fields Modifier and Type Field Description protected UserFormLayoutInfocustomFormLayoutprotected static org.slf4j.LoggerLOGprotected ClassPathScanImplementationLookuplookupprotected static com.fasterxml.jackson.databind.json.JsonMapperMAPPERprotected EnduserPropertiespropsprotected org.springframework.core.io.ResourceLoaderresourceLoaderprotected org.apache.syncope.common.keymaster.client.api.ServiceOpsserviceOpsstatic List<Locale>SUPPORTED_LOCALES
-
Constructor Summary
Constructors Constructor Description SyncopeWebApplication(org.springframework.core.io.ResourceLoader resourceLoader, EnduserProperties props, ClassPathScanImplementationLookup lookup, org.apache.syncope.common.keymaster.client.api.ServiceOps serviceOps)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SyncopeWebApplicationget()StringgetAdminUser()StringgetAnonymousKey()StringgetAnonymousUser()protected org.apache.wicket.authorization.IAuthorizationStrategygetAuthorizationStrategy()UserFormLayoutInfogetCustomFormLayout()Class<? extends org.apache.wicket.Page>getHomePage()ClassPathScanImplementationLookupgetLookup()IntegergetMaxUploadFileSizeMB()longgetMaxWaitTimeInSeconds()Class<? extends BasePage>getPageClass(String name)Class<? extends BasePage>getPageClass(String name, Class<? extends BasePage> defaultValue)Class<? extends Sidebar>getSidebar()protected Class<? extends org.apache.wicket.markup.html.WebPage>getSignInPageClass()protected voidinit()booleanisCaptchaEnabled()booleanisReportPropagationErrorDetails()booleanisReportPropagationErrors()org.apache.syncope.client.lib.SyncopeClientnewAnonymousClient()org.apache.syncope.client.lib.SyncopeClientFactoryBeannewClientFactory()org.apache.wicket.SessionnewSession(org.apache.wicket.request.Request request, org.apache.wicket.request.Response response)-
Methods inherited from class com.giffing.wicket.spring.boot.starter.app.WicketBootSecuredWebApplication
getApplicationContext, getConfigurations, getConfigurationType, getGeneralSettingsProperties, getWebSessionClass, 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, newCspSettings, 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, setHeaderResponseDecorator, setJavaScriptLibrarySettings, setMarkupSettings, setMetaData, setName, setPageManagerProvider, setPageRendererProvider, setPageSettings, setRequestCycleProvider, setRequestCycleSettings, setRequestLoggerSettings, setResourceSettings, setRootRequestMapper, setSecuritySettings, setSessionStoreProvider, setStoreSettings, usesDeploymentConfig, usesDevelopmentConfig
-
-
-
-
Field Detail
-
LOG
protected static final org.slf4j.Logger LOG
-
MAPPER
protected static final com.fasterxml.jackson.databind.json.JsonMapper MAPPER
-
resourceLoader
protected final org.springframework.core.io.ResourceLoader resourceLoader
-
props
protected final EnduserProperties props
-
lookup
protected final ClassPathScanImplementationLookup lookup
-
serviceOps
protected final org.apache.syncope.common.keymaster.client.api.ServiceOps serviceOps
-
customFormLayout
protected UserFormLayoutInfo customFormLayout
-
-
Constructor Detail
-
SyncopeWebApplication
public SyncopeWebApplication(org.springframework.core.io.ResourceLoader resourceLoader, EnduserProperties props, ClassPathScanImplementationLookup lookup, org.apache.syncope.common.keymaster.client.api.ServiceOps serviceOps)
-
-
Method Detail
-
get
public static SyncopeWebApplication get()
-
init
protected void init()
- Overrides:
initin classcom.giffing.wicket.spring.boot.starter.app.WicketBootSecuredWebApplication
-
getAuthorizationStrategy
protected org.apache.wicket.authorization.IAuthorizationStrategy getAuthorizationStrategy()
-
getHomePage
public Class<? extends org.apache.wicket.Page> getHomePage()
- Overrides:
getHomePagein classcom.giffing.wicket.spring.boot.starter.app.WicketBootSecuredWebApplication
-
getLookup
public ClassPathScanImplementationLookup getLookup()
-
getCustomFormLayout
public UserFormLayoutInfo getCustomFormLayout()
-
newSession
public org.apache.wicket.Session newSession(org.apache.wicket.request.Request request, org.apache.wicket.request.Response response)- Overrides:
newSessionin classorg.apache.wicket.authroles.authentication.AuthenticatedWebApplication
-
newAnonymousClient
public org.apache.syncope.client.lib.SyncopeClient newAnonymousClient()
-
newClientFactory
public org.apache.syncope.client.lib.SyncopeClientFactoryBean newClientFactory()
-
getPageClass
public Class<? extends BasePage> getPageClass(String name, Class<? extends BasePage> defaultValue)
-
getSignInPageClass
protected Class<? extends org.apache.wicket.markup.html.WebPage> getSignInPageClass()
- Overrides:
getSignInPageClassin classcom.giffing.wicket.spring.boot.starter.app.WicketBootSecuredWebApplication
-
getAdminUser
public String getAdminUser()
-
getAnonymousUser
public String getAnonymousUser()
-
getAnonymousKey
public String getAnonymousKey()
-
isCaptchaEnabled
public boolean isCaptchaEnabled()
-
isReportPropagationErrors
public boolean isReportPropagationErrors()
-
isReportPropagationErrorDetails
public boolean isReportPropagationErrorDetails()
-
getMaxWaitTimeInSeconds
public long getMaxWaitTimeInSeconds()
-
getMaxUploadFileSizeMB
public Integer getMaxUploadFileSizeMB()
-
-