|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SessionService
Provides access to user sessions and allows for initializing user sessions.
| Method Summary | |
|---|---|
Session |
getCurrentSession()
Start a new session and destroy any existing session that is known for this thread. |
String |
getCurrentSessionId()
Access the current session id for the current thread (also available from the current session). |
String |
getCurrentUserId()
Access the current user id for the current session. |
| Method Detail |
|---|
Session getCurrentSession()
WARNING: there is normally no need to call this method as the session is created for you when using webapps. This is only needed when there is a requirement to create a session operating outside a servlet container or manually handling sessions.
String getCurrentSessionId()
String getCurrentUserId()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||