|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.Session
org.apache.wicket.protocol.http.WebSession
org.apache.wicket.authentication.AuthenticatedWebSession
org.apache.wicket.examples.authentication.MyAuthenticatedWebSession
public class MyAuthenticatedWebSession
Authenticated session subclass
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.wicket.Session |
|---|
Session.IPageMapVisitor, Session.PageMapAccessMetaData |
| Field Summary |
|---|
| Fields inherited from class org.apache.wicket.Session |
|---|
PAGEMAP_ACCESS_MDK, SESSION_ATTRIBUTE_NAME |
| Constructor Summary | |
|---|---|
MyAuthenticatedWebSession(Request request)
Construct. |
|
| Method Summary | |
|---|---|
boolean |
authenticate(String username,
String password)
Authenticates this session using the given username and password |
Roles |
getRoles()
|
| Methods inherited from class org.apache.wicket.authentication.AuthenticatedWebSession |
|---|
get, isSignedIn, signIn, signIn, signOut |
| Methods inherited from class org.apache.wicket.protocol.http.WebSession |
|---|
cleanupComponentFeedbackMessages, cleanupFeedbackMessages, isCurrentRequestValid |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MyAuthenticatedWebSession(Request request)
request - The current request object| Method Detail |
|---|
public boolean authenticate(String username,
String password)
AuthenticatedWebSession
authenticate in class AuthenticatedWebSessionusername - The usernamepassword - The password
AuthenticatedWebSession.authenticate(java.lang.String,
java.lang.String)public Roles getRoles()
getRoles in class AuthenticatedWebSessionAuthenticatedWebSession.getRoles()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||