wicket.authentication.example
Class MyAuthenticatedWebApplication

java.lang.Object
  extended by wicket.Application
      extended by wicket.protocol.http.WebApplication
          extended by wicket.authentication.AuthenticatedWebApplication
              extended by wicket.authentication.example.MyAuthenticatedWebApplication
All Implemented Interfaces:
wicket.authorization.IUnauthorizedComponentInstantiationListener, wicket.authorization.strategies.role.IRoleCheckingStrategy, wicket.ISessionFactory

public class MyAuthenticatedWebApplication
extends wicket.authentication.AuthenticatedWebApplication

A role-authorized, authenticated web application in just a few lines of code.

Author:
Jonathan Locke

Field Summary
 
Fields inherited from class wicket.Application
CONFIGURATION, CONTEXTPATH, DEPLOYMENT, DEVELOPMENT
 
Constructor Summary
MyAuthenticatedWebApplication()
           
 
Method Summary
 java.lang.Class getHomePage()
           
protected  java.lang.Class<? extends wicket.markup.html.WebPage> getSignInPageClass()
           
protected  java.lang.Class<? extends wicket.authentication.AuthenticatedWebSession> getWebSessionClass()
           
 
Methods inherited from class wicket.authentication.AuthenticatedWebApplication
getSessionFactory, hasAnyRole, init, onUnauthorizedInstantiation, onUnauthorizedPage
 
Methods inherited from class wicket.protocol.http.WebApplication
getApplicationKey, getDefaultRequestCycleFactory, getRequestCycleProcessor, getRequestLogger, getSessionAttributePrefix, getWicketServlet, internalDestroy, internalInit, logEventTarget, logResponseTarget, mount, mount, mountBookmarkablePage, mountBookmarkablePage, mountBookmarkablePage, mountSharedResource, newRequestCycleProcessor, newSession, newSessionStore, newWebRequest, newWebResponse, sessionDestroyed, setApplicationKey, setRequestLogger, setSessionFactory, setWicketServlet, unmount
 
Methods inherited from class wicket.Application
addComponentInstantiationListener, configure, configure, configure, destroy, exists, get, get, getAjaxSettings, getApplicationSettings, getConfigurationType, getDebugSettings, getExceptionSettings, getFrameworkSettings, getMarkupCache, getMarkupSettings, getMetaData, getName, getPageSettings, getRequestCycleSettings, getResourceSettings, getSecuritySettings, getSessionSettings, getSessionStore, getSettings, getSharedResources, initializeComponents, isAttached, removeComponentInstantiationListener, set, setMetaData, unset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyAuthenticatedWebApplication

public MyAuthenticatedWebApplication()
Method Detail

getWebSessionClass

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

getSignInPageClass

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

getHomePage

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


Copyright © 2005-2007 Wicket developers. All Rights Reserved.