|
TaskBean API 0.5 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectglogic.jthin.serv.ProductSessionManager
Manages sessions.
| Method Summary | |
ClientSession |
attachToSsoSession(ClientContext context)
Creates the session to be used for future requests. |
void |
checkProductRequest()
Every remote call must call this method to check the following: User has a valid session System is available Product available and status of product client upgrade (if any) Updates session data statistics |
ClientSession |
createSession(Attributes authAttributes,
ClientContext context)
Creates the session to be used for future requests. |
java.lang.String |
decryptSsoSession(SSOSessionBean sessionBean)
|
SSOSessionBean |
encryptSsoSession(java.lang.String stSessionID)
|
void |
endSession()
|
static ProductSessionManager |
getInstance()
|
static void |
initInstance()
|
static void |
initInstance(AuthenticationHandler handler)
|
boolean |
isActiveSession()
|
boolean |
isSSOSessionValid(javax.servlet.http.HttpServletRequest request)
Tests if web session is authenticated. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static void initInstance(AuthenticationHandler handler)
public static void initInstance()
public static ProductSessionManager getInstance()
public ClientSession attachToSsoSession(ClientContext context)
throws AuthenticationException,
WServiceAccessException
AuthenticationException
WServiceAccessException
public ClientSession createSession(Attributes authAttributes,
ClientContext context)
throws AuthenticationException,
WServiceAccessException
AuthenticationException
WServiceAccessExceptionpublic boolean isActiveSession()
public void checkProductRequest()
throws WServiceAccessException
WServiceAccessException - If there is no session (or valid
session) then the exception will be thrown.public boolean isSSOSessionValid(javax.servlet.http.HttpServletRequest request)
public SSOSessionBean encryptSsoSession(java.lang.String stSessionID)
public java.lang.String decryptSsoSession(SSOSessionBean sessionBean)
throws AuthenticationException
AuthenticationException
public void endSession()
throws WServiceAccessException
WServiceAccessException
|
TaskBean API 0.5 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||