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.console.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 AccessPolicyConfProvider
accessPolicyConfProvider
protected AnyDirectoryPanelAdditionalActionLinksProvider
anyDirectoryPanelAdditionalActionLinksProvider
protected AnyDirectoryPanelAdditionalActionsProvider
anyDirectoryPanelAdditionalActionsProvider
protected AnyWizardBuilderAdditionalSteps
anyWizardBuilderAdditionalSteps
protected ImplementationInfoProvider
implementationInfoProvider
protected static Logger
LOG
protected ClassPathScanImplementationLookup
lookup
protected List<PolicyTabProvider>
policyTabProviders
protected ConsoleProperties
props
protected ExternalResourceProvider
resourceProvider
protected List<IResource>
resources
protected ServiceOps
serviceOps
protected StatusProvider
statusProvider
protected List<UserFormFinalizer>
userFormFinalizers
protected VirSchemaDetailsPanelProvider
virSchemaDetailsPanelProvider
-
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(ConsoleProperties props, ClassPathScanImplementationLookup lookup, ServiceOps serviceOps, ExternalResourceProvider resourceProvider, AnyDirectoryPanelAdditionalActionsProvider anyDirectoryPanelAdditionalActionsProvider, AnyDirectoryPanelAdditionalActionLinksProvider anyDirectoryPanelAdditionalActionLinksProvider, AnyWizardBuilderAdditionalSteps anyWizardBuilderAdditionalSteps, StatusProvider statusProvider, VirSchemaDetailsPanelProvider virSchemaDetailsPanelProvider, ImplementationInfoProvider implementationInfoProvider, AccessPolicyConfProvider accessPolicyConfProvider, List<PolicyTabProvider> policyTabProviders, List<UserFormFinalizer> userFormFinalizers, 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, newSession, 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
-
props
protected final ConsoleProperties props
-
lookup
protected final ClassPathScanImplementationLookup lookup
-
serviceOps
protected final ServiceOps serviceOps
-
resourceProvider
protected final ExternalResourceProvider resourceProvider
-
anyDirectoryPanelAdditionalActionsProvider
protected final AnyDirectoryPanelAdditionalActionsProvider anyDirectoryPanelAdditionalActionsProvider
-
anyDirectoryPanelAdditionalActionLinksProvider
protected final AnyDirectoryPanelAdditionalActionLinksProvider anyDirectoryPanelAdditionalActionLinksProvider
-
anyWizardBuilderAdditionalSteps
protected final AnyWizardBuilderAdditionalSteps anyWizardBuilderAdditionalSteps
-
statusProvider
protected final StatusProvider statusProvider
-
virSchemaDetailsPanelProvider
protected final VirSchemaDetailsPanelProvider virSchemaDetailsPanelProvider
-
implementationInfoProvider
protected final ImplementationInfoProvider implementationInfoProvider
-
accessPolicyConfProvider
protected final AccessPolicyConfProvider accessPolicyConfProvider
-
policyTabProviders
protected final List<PolicyTabProvider> policyTabProviders
-
userFormFinalizers
protected final List<UserFormFinalizer> userFormFinalizers
-
-
Constructor Detail
-
SyncopeWebApplication
public SyncopeWebApplication(ConsoleProperties props, ClassPathScanImplementationLookup lookup, ServiceOps serviceOps, ExternalResourceProvider resourceProvider, AnyDirectoryPanelAdditionalActionsProvider anyDirectoryPanelAdditionalActionsProvider, AnyDirectoryPanelAdditionalActionLinksProvider anyDirectoryPanelAdditionalActionLinksProvider, AnyWizardBuilderAdditionalSteps anyWizardBuilderAdditionalSteps, StatusProvider statusProvider, VirSchemaDetailsPanelProvider virSchemaDetailsPanelProvider, ImplementationInfoProvider implementationInfoProvider, AccessPolicyConfProvider accessPolicyConfProvider, List<PolicyTabProvider> policyTabProviders, List<UserFormFinalizer> userFormFinalizers, 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
-
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
-
getHomePage
public Class<? extends Page> getHomePage()
- Overrides:
getHomePage
in classcom.giffing.wicket.spring.boot.starter.app.WicketBootSecuredWebApplication
-
getLookup
public ClassPathScanImplementationLookup getLookup()
-
newThreadPoolTaskExecutor
public ThreadPoolTaskExecutor newThreadPoolTaskExecutor()
-
newAnonymousClient
public SyncopeAnonymousClient newAnonymousClient(String domain)
-
newClientFactory
public SyncopeClientFactoryBean newClientFactory()
-
getDefaultAnyPanelClass
public String getDefaultAnyPanelClass()
-
getAdminUser
public String getAdminUser()
-
getAnonymousUser
public String getAnonymousUser()
-
getAnonymousKey
public String getAnonymousKey()
-
getMaxWaitTimeInSeconds
public long getMaxWaitTimeInSeconds()
-
getMaxUploadFileSizeMB
public int getMaxUploadFileSizeMB()
-
fullRealmsTree
public boolean fullRealmsTree(RealmRestClient restClient)
-
getResourceProvider
public ExternalResourceProvider getResourceProvider()
-
getAnyDirectoryPanelAdditionalActionsProvider
public AnyDirectoryPanelAdditionalActionsProvider getAnyDirectoryPanelAdditionalActionsProvider()
-
getAnyDirectoryPanelAdditionalActionLinksProvider
public AnyDirectoryPanelAdditionalActionLinksProvider getAnyDirectoryPanelAdditionalActionLinksProvider()
-
getAnyWizardBuilderAdditionalSteps
public AnyWizardBuilderAdditionalSteps getAnyWizardBuilderAdditionalSteps()
-
getStatusProvider
public StatusProvider getStatusProvider()
-
getVirSchemaDetailsPanelProvider
public VirSchemaDetailsPanelProvider getVirSchemaDetailsPanelProvider()
-
getImplementationInfoProvider
public ImplementationInfoProvider getImplementationInfoProvider()
-
getPolicyTabProviders
public Collection<PolicyTabProvider> getPolicyTabProviders()
-
getFormFinalizers
public List<UserFormFinalizer> getFormFinalizers(AjaxWizard.Mode mode)
-
getAccessPolicyConfProvider
public AccessPolicyConfProvider getAccessPolicyConfProvider()
-
-