Constructor and Description |
---|
SecureLoginSession(SecureLogin sl)
Creates a new instance of a session.
|
Modifier and Type | Method and Description |
---|---|
void |
generateUniqueCode(int codeLength)
Generates a new code for the session.
|
String |
getCode()
Gets the code for this session.
|
String |
getCookieSession(String userID)
Gets the cookie session identifier.
|
SecureLogin |
getSecureLogin()
Gets the creating SecureLogin instance.
|
String |
getSession()
Gets the session identifier.
|
static SecureLoginSession |
getSession(String session)
Gets a session from the table.
|
static SecureLoginSession |
getSessionExtraInfo(String string)
Gets a session from the table, when the string contains
more information, such as user ID, etc...
|
static int |
isCookieSession(HttpSession session,
String string,
String npslResourceName)
Checks for valid cookie session.
|
void |
run()
The thread used as session killer when a session
has timed out.
|
void |
setTimeout(int timeoutInSeconds)
Sets the timeout for this session.
|
public SecureLoginSession(SecureLogin sl)
public static SecureLoginSession getSession(String session)
public static SecureLoginSession getSessionExtraInfo(String string)
public String getSession()
public static int isCookieSession(HttpSession session, String string, String npslResourceName)
public void generateUniqueCode(int codeLength)
public SecureLogin getSecureLogin()
public String getCode()
public void setTimeout(int timeoutInSeconds)
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.