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
Fields Modifier and Type Field Description protected UserFormLayoutInfo
customFormLayout
protected static Logger
LOG
protected ClassPathScanImplementationLookup
lookup
protected static JsonMapper
MAPPER
protected EnduserProperties
props
protected ResourceLoader
resourceLoader
protected List<IResource>
resources
protected ServiceOps
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
Constructors Constructor Description SyncopeWebApplication(ResourceLoader resourceLoader, EnduserProperties props, ClassPathScanImplementationLookup lookup, ServiceOps serviceOps, List<IResource> resources)
-
Method Summary
-
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, 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 Logger LOG
-
MAPPER
protected static final JsonMapper MAPPER
-
resourceLoader
protected final ResourceLoader resourceLoader
-
props
protected final EnduserProperties props
-
lookup
protected final ClassPathScanImplementationLookup lookup
-
serviceOps
protected final ServiceOps serviceOps
-
customFormLayout
protected UserFormLayoutInfo customFormLayout
-
-
Constructor Detail
-
SyncopeWebApplication
public SyncopeWebApplication(ResourceLoader resourceLoader, EnduserProperties props, ClassPathScanImplementationLookup lookup, ServiceOps serviceOps, List<IResource> resources)
-
-
Method Detail
-
get
public static SyncopeWebApplication get()
-
buildSyncopeUIRequestCycleListener
protected SyncopeUIRequestCycleListener buildSyncopeUIRequestCycleListener()
-
initSecurity
protected void initSecurity()
-
init
protected void init()
- Overrides:
init
in classcom.giffing.wicket.spring.boot.starter.app.WicketBootSecuredWebApplication
-
getAuthorizationStrategy
protected IAuthorizationStrategy getAuthorizationStrategy()
-
getHomePage
public Class<? extends Page> getHomePage()
- Overrides:
getHomePage
in classcom.giffing.wicket.spring.boot.starter.app.WicketBootSecuredWebApplication
-
getLookup
public ClassPathScanImplementationLookup getLookup()
-
getCustomFormLayout
public UserFormLayoutInfo getCustomFormLayout()
-
newSession
public Session newSession(Request request, Response response)
- Overrides:
newSession
in classAuthenticatedWebApplication
-
newAnonymousClient
public SyncopeAnonymousClient newAnonymousClient(String domain)
-
newClientFactory
public SyncopeClientFactoryBean newClientFactory()
-
getPageClass
public Class<? extends BasePage> getPageClass(String name, Class<? extends BasePage> defaultValue)
-
getWebSessionClass
protected Class<? extends AbstractAuthenticatedWebSession> getWebSessionClass()
- Overrides:
getWebSessionClass
in classcom.giffing.wicket.spring.boot.starter.app.WicketBootSecuredWebApplication
-
getSignInPageClass
protected Class<? extends WebPage> getSignInPageClass()
- Overrides:
getSignInPageClass
in classcom.giffing.wicket.spring.boot.starter.app.WicketBootSecuredWebApplication
-
getAdminUser
public String getAdminUser()
-
getAnonymousUser
public String getAnonymousUser()
-
isCaptchaEnabled
public boolean isCaptchaEnabled()
-
isReportPropagationErrors
public boolean isReportPropagationErrors()
-
isReportPropagationErrorDetails
public boolean isReportPropagationErrorDetails()
-
getMaxWaitTimeInSeconds
public long getMaxWaitTimeInSeconds()
-
getMaxUploadFileSizeMB
public Integer getMaxUploadFileSizeMB()
-
-