|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.portal.authentication.SessionConfig
@StableMinor(version="5.5", sinceVersion="4.0") public final class SessionConfig
Stores user session information.
Constructor Summary | |
---|---|
SessionConfig()
Deprecated. Since 4.0.8, the SessionConfig should not be created using this constructor. Instead obtain it by calling getCurrentSessionConfig() or the methods available in
IAuthenticationManager . |
Method Summary | |
---|---|
protected SessionConfig |
clone()
|
static SessionConfig |
getCurrentSessionConfig()
Returns the current session config object. |
Locale |
getLocale()
|
String |
getUserId()
Gets the user id associated with this session. |
String |
getUserSessionId()
|
void |
setLocale(Locale locale)
|
void |
setUserSessionId(String userSessionId)
Deprecated. Since 4.0.8, you should obtain the session config instance already constructed from getCurrentSessionConfig()
or a method in IAuthenticationManager and there is no need to
set the userSessionId. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
@Deprecated public SessionConfig()
getCurrentSessionConfig()
or the methods available in
IAuthenticationManager
.
Method Detail |
---|
public String getUserSessionId()
@Deprecated public void setUserSessionId(String userSessionId)
getCurrentSessionConfig()
or a method in IAuthenticationManager
and there is no need to
set the userSessionId.
userSessionId
- The userSessionId to set.public Locale getLocale()
public void setLocale(Locale locale)
locale
- The locale to set.public String getUserId() throws PortalException
PortalException
- if it was not possible to obtain the userId
for this SessionConfig.public static SessionConfig getCurrentSessionConfig()
protected SessionConfig clone()
clone
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |