|
||||||||||
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
public class WebSession
A session subclass for the HTTP protocol.
Field Summary |
---|
Fields inherited from class org.apache.wicket.Session |
---|
SESSION_ATTRIBUTE_NAME |
Constructor Summary | |
---|---|
WebSession(Request request)
Constructor. |
Method Summary | |
---|---|
boolean |
authenticate(java.lang.String username,
java.lang.String password)
Note: You must subclass WebSession and implement your own. |
protected void |
cleanupComponentFeedbackMessages()
Clear all feedback messages |
void |
cleanupFeedbackMessages()
Cleans up all rendered feedback messages and any unrendered, dangling feedback messages there may be left after that. |
void |
invalidate()
Call signOut() and remove the logon data from whereever they have been persisted (e.g. |
Methods inherited from class org.apache.wicket.Session |
---|
attach, bind, clear, detach, dirty, error, exists, get, getApplication, getAttribute, getAttributeNames, getAuthorizationStrategy, getClassResolver, getClientInfo, getFeedbackMessages, getId, getLocale, getMetaData, getPageFactory, getPageManager, getSessionStore, getSizeInBytes, getStyle, info, invalidateNow, isCurrentRequestValid, isSessionInvalidated, isTemporary, nextPageId, nextSequenceValue, removeAttribute, replaceSession, setAttribute, setClientInfo, setLocale, setMetaData, setStyle, warn |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WebSession(Request request)
RequestCycle
is not available until this constructor returns.
request
- The current requestMethod Detail |
---|
public void cleanupFeedbackMessages()
Session
cleanupFeedbackMessages
in class Session
Session.cleanupFeedbackMessages()
protected void cleanupComponentFeedbackMessages()
public void invalidate()
invalidate
in class Session
Session.invalidate()
public boolean authenticate(java.lang.String username, java.lang.String password)
username
- The usernamepassword
- The password
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |