Package de.xima.fc.session
Class XfcSession
- All Implemented Interfaces:
Serializable,Cloneable,Map<Serializable,Serializable>
Context of a backend user session.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.The client is no longer part of the request.voiddispose()booleanDeprecated.Deprecated.FD2Sessions are no longer necessary as they are integrated via JSF.Deprecated.Deprecated.The locale is now determined by the user profile.Deprecated.UsegetUser()instead to get details about the userDeprecated.Use AutoLoginHelper#readCookie(HttpServletRequest) instead.getUser()Deprecated.Don't use!inthashCode()booleanDeprecated.The (backend) user is no longer saved in this session but rather in the generalHttpSession.booleanvoidsetContext(ELoginContext context) Deprecated.voidsetCurrentMandant(Mandant client) Deprecated.The client is no longer part of the request.voidsetLanguage(String langCode) Deprecated.The locale is now determined by the user profile.voidDeprecated.The locale is now determined by the user profile.voidsetLoginName(String loginName) Deprecated.UsegetUser()instead to get details about the uservoidsetSessionId(String sessionId) voidsetShowProductUpdatePrompt(boolean showProductUpdatePrompt) voidsetStayLoggedInToken(String token) Deprecated.Use AutoLoginHelper#readCookie(HttpServletRequest) instead.toString()voidDeprecated.Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Method Details
-
getSessionId
- Returns:
- the Session id
-
setSessionId
- Parameters:
sessionId- the session Id to set
-
isShowProductUpdatePrompt
public boolean isShowProductUpdatePrompt() -
setShowProductUpdatePrompt
public void setShowProductUpdatePrompt(boolean showProductUpdatePrompt) -
equals
- Specified by:
equalsin interfaceMap<Serializable,Serializable> - Overrides:
equalsin classAbstractMap<Serializable,Serializable>
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceMap<Serializable,Serializable> - Overrides:
hashCodein classAbstractMap<Serializable,Serializable>
-
dispose
public void dispose() -
getFridMapping
- Returns:
- the Mapping of renewed FRIDs
-
toString
- Overrides:
toStringin classAbstractMap<Serializable,Serializable>
-
getUser
Deprecated.Don't use! This is method only exists for compatibility reasons. The user is now stored in the generalHttpSession. -
isBenutzerAuth
Deprecated.The (backend) user is no longer saved in this session but rather in the generalHttpSession.Returns whether or not the user has been authenticated and isn't anonymous. -
getFD2Sessions
Deprecated.FD2Sessions are no longer necessary as they are integrated via JSF.Retrieve the FD2Session-Map from the current HTTP-Session, which is inside the XfcSession object.- Returns:
- a
Mapornullif theHttpSessioninside is null
-
getStayLoggedInToken
Deprecated.Use AutoLoginHelper#readCookie(HttpServletRequest) instead. -
setStayLoggedInToken
Deprecated.Use AutoLoginHelper#readCookie(HttpServletRequest) instead. -
getFRQSessions
Deprecated.Retrieve the FRQSession-Map from the current HTTP-Session, which is inside the XfcSession object.- Returns:
- a
Mapornullif theHttpSessioninside is null
-
getLoginName
Deprecated.UsegetUser()instead to get details about the user -
setLoginName
Deprecated.UsegetUser()instead to get details about the user -
currentBenutzer
Deprecated.The (backend) user is no longer saved in this session but rather in the generalHttpSession. -
currentMandant
Deprecated.The client is no longer part of the request. -
update
Deprecated. -
setCurrentMandant
Deprecated.The client is no longer part of the request. -
setLanguage
Deprecated.The locale is now determined by the user profile. -
setLocale
Deprecated.The locale is now determined by the user profile. -
getLocale
Deprecated.The locale is now determined by the user profile. -
getContext
Deprecated. -
setContext
Deprecated.
-
HttpSession.