org.syncope.console
Class SyncopeApplication

java.lang.Object
  extended by org.apache.wicket.Application
      extended by org.apache.wicket.protocol.http.WebApplication
          extended by org.apache.wicket.authentication.AuthenticatedWebApplication
              extended by org.syncope.console.SyncopeApplication
All Implemented Interfaces:
org.apache.wicket.authorization.IUnauthorizedComponentInstantiationListener, org.apache.wicket.authorization.strategies.role.IRoleCheckingStrategy, org.springframework.context.ApplicationContextAware

public class SyncopeApplication
extends org.apache.wicket.authentication.AuthenticatedWebApplication
implements org.springframework.context.ApplicationContextAware

SyncopeApplication class.


Field Summary
 
Fields inherited from class org.apache.wicket.Application
CONFIGURATION, CONTEXTPATH, DEPLOYMENT, DEVELOPMENT
 
Constructor Summary
SyncopeApplication()
           
 
Method Summary
 org.springframework.context.ApplicationContext getApplicationContext()
           
 java.lang.Class getHomePage()
           
protected  java.lang.Class<? extends org.apache.wicket.markup.html.WebPage> getSignInPageClass()
           
protected  java.lang.Class<? extends org.apache.wicket.authentication.AuthenticatedWebSession> getWebSessionClass()
           
protected  void init()
           
 org.apache.wicket.RequestCycle newRequestCycle(org.apache.wicket.Request request, org.apache.wicket.Response response)
           
 org.apache.wicket.Session newSession(org.apache.wicket.Request request, org.apache.wicket.Response response)
          Create a new custom SyncopeSession
 void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
           
 void setupAuthorizations()
           
 
Methods inherited from class org.apache.wicket.authentication.AuthenticatedWebApplication
hasAnyRole, onUnauthorizedInstantiation, onUnauthorizedPage
 
Methods inherited from class org.apache.wicket.protocol.http.WebApplication
addIgnoreMountPath, get, getApplicationKey, getConfigurationType, getDefaultRequestCycleFactory, getInitParameter, getRequestCycleProcessor, getResourceFinder, getServletContext, getSessionAttributePrefix, getSessionAttributePrefix, getWicketFilter, internalDestroy, internalInit, logEventTarget, logResponseTarget, mount, mount, mountBookmarkablePage, mountBookmarkablePage, mountSharedResource, newAjaxRequestTarget, newRequestCycleProcessor, newSession, newSession, newSessionStore, newWebRequest, newWebResponse, outputDevelopmentModeWarning, sessionDestroyed, setApplicationKey, setWicketFilter, unmount
 
Methods inherited from class org.apache.wicket.Application
addComponentInitializationListener, addComponentInstantiationListener, addComponentOnAfterRenderListener, addPostComponentOnBeforeRenderListener, addPreComponentOnBeforeRenderListener, addRenderHeadListener, configure, decorateHeaderResponse, destroy, exists, fireComponentInitializationListeners, get, getApplicationKeys, getApplicationSettings, getConverterLocator, getDebugSettings, getExceptionSettings, getFrameworkSettings, getMarkupCache, getMarkupSettings, getMetaData, getName, getPageSettings, getRequestCycleFactory, getRequestCycleSettings, getRequestLogger, getRequestLoggerSettings, getResourceSettings, getSecuritySettings, getSessionFactory, getSessionSettings, getSessionStore, getSharedResources, initializeComponents, newConverterLocator, newRequestCycle, newRequestLogger, notifyRenderHeadListener, onDestroy, removeComponentInstantiationListener, removeComponentOnAfterRenderListener, removePostComponentOnBeforeRenderListener, removePreComponentOnBeforeRenderListener, removeRenderHeadListener, set, setHeaderResponseDecorator, setMetaData, unset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SyncopeApplication

public SyncopeApplication()
Method Detail

init

protected void init()
Overrides:
init in class org.apache.wicket.authentication.AuthenticatedWebApplication

setupAuthorizations

public void setupAuthorizations()

newSession

public org.apache.wicket.Session newSession(org.apache.wicket.Request request,
                                            org.apache.wicket.Response response)
Create a new custom SyncopeSession

Overrides:
newSession in class org.apache.wicket.authentication.AuthenticatedWebApplication
Parameters:
request -
response -
Returns:
Session

getHomePage

public java.lang.Class getHomePage()
Specified by:
getHomePage in class org.apache.wicket.Application
See Also:
Application.getHomePage()

setApplicationContext

public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
                           throws org.springframework.beans.BeansException
Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
Throws:
org.springframework.beans.BeansException

getApplicationContext

public org.springframework.context.ApplicationContext getApplicationContext()

newRequestCycle

public final org.apache.wicket.RequestCycle newRequestCycle(org.apache.wicket.Request request,
                                                            org.apache.wicket.Response response)
Overrides:
newRequestCycle in class org.apache.wicket.protocol.http.WebApplication

getWebSessionClass

protected java.lang.Class<? extends org.apache.wicket.authentication.AuthenticatedWebSession> getWebSessionClass()
Specified by:
getWebSessionClass in class org.apache.wicket.authentication.AuthenticatedWebApplication

getSignInPageClass

protected java.lang.Class<? extends org.apache.wicket.markup.html.WebPage> getSignInPageClass()
Specified by:
getSignInPageClass in class org.apache.wicket.authentication.AuthenticatedWebApplication


Copyright © 2010. All Rights Reserved.