|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.Application org.apache.wicket.protocol.http.WebApplication org.apache.wicket.authroles.authentication.AuthenticatedWebApplication org.apache.wicket.examples.authentication3.MyAuthenticatedWebApplication
public class MyAuthenticatedWebApplication
A role-authorized, authenticated web application in just a few lines of code.
Field Summary |
---|
Fields inherited from class org.apache.wicket.Application |
---|
CONFIGURATION |
Constructor Summary | |
---|---|
MyAuthenticatedWebApplication()
|
Method Summary | |
---|---|
java.lang.Class<? extends Page> |
getHomePage()
Application subclasses must specify a home page class by implementing this abstract method. |
protected java.lang.Class<? extends WebPage> |
getSignInPageClass()
|
protected java.lang.Class<? extends AbstractAuthenticatedWebSession> |
getWebSessionClass()
|
protected void |
init()
Initialize; if you need the wicket servlet/filter for initialization, e.g. |
Methods inherited from class org.apache.wicket.authroles.authentication.AuthenticatedWebApplication |
---|
hasAnyRole, newSession, onUnauthorizedInstantiation, onUnauthorizedPage, restartResponseAtSignInPage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MyAuthenticatedWebApplication()
Method Detail |
---|
public java.lang.Class<? extends Page> getHomePage()
Application
getHomePage
in class Application
Application.getHomePage()
protected java.lang.Class<? extends AbstractAuthenticatedWebSession> getWebSessionClass()
getWebSessionClass
in class AuthenticatedWebApplication
org.apache.wicket.authentication.AuthenticatedWebApplication#getWebSessionClass()
protected java.lang.Class<? extends WebPage> getSignInPageClass()
getSignInPageClass
in class AuthenticatedWebApplication
org.apache.wicket.authentication.AuthenticatedWebApplication#getSignInPageClass()
protected void init()
WebApplication
init
in class AuthenticatedWebApplication
org.apache.wicket.authentication.AuthenticatedWebApplication#init()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |