Class XfcSession

    • Method Detail

      • getSessionId

        public String getSessionId()
        Returns:
        the Session id
      • setSessionId

        public void setSessionId​(String sessionId)
        Parameters:
        sessionId - the session Id to set
      • isShowProductUpdatePrompt

        public boolean isShowProductUpdatePrompt()
      • setShowProductUpdatePrompt

        public void setShowProductUpdatePrompt​(boolean showProductUpdatePrompt)
      • dispose

        public void dispose()
      • getFridMapping

        public Map<String,​String> getFridMapping()
        Returns:
        the Mapping of renewed FRIDs
      • getUser

        @Deprecated
        public IUser getUser()
        Deprecated.
        Don't use! This is method only exists for compatibility reasons. The user is now stored in the general HttpSession.
      • isBenutzerAuth

        @Deprecated
        public boolean isBenutzerAuth()
        Deprecated.
        The (backend) user is no longer saved in this session but rather in the general HttpSession.
        Returns whether or not the user has been authenticated and isn't anonymous.
      • getFD2Sessions

        @Deprecated
        public Map<String,​FD2Session> 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 Map or null if the HttpSession inside is null
      • getStayLoggedInToken

        @Deprecated
        public String getStayLoggedInToken()
        Deprecated.
        Use AutoLoginHelper#readCookie(HttpServletRequest) instead.
      • setStayLoggedInToken

        @Deprecated
        public void setStayLoggedInToken​(String token)
        Deprecated.
        Use AutoLoginHelper#readCookie(HttpServletRequest) instead.
      • getFRQSessions

        @Deprecated
        public Map<String,​FRQSession> getFRQSessions()
        Deprecated.
        Retrieve the FRQSession-Map from the current HTTP-Session, which is inside the XfcSession object.
        Returns:
        a Map or null if the HttpSession inside is null
      • setLoginName

        @Deprecated
        public void setLoginName​(String loginName)
        Deprecated.
        Use getUser() instead to get details about the user
      • currentBenutzer

        @Deprecated
        public Benutzer currentBenutzer()
        Deprecated.
        The (backend) user is no longer saved in this session but rather in the general HttpSession.
      • currentMandant

        @Deprecated
        public Mandant currentMandant()
        Deprecated.
        The client is no longer part of the request.
      • setCurrentMandant

        @Deprecated
        public void setCurrentMandant​(Mandant client)
        Deprecated.
        The client is no longer part of the request.
      • setLanguage

        @Deprecated
        public void setLanguage​(String langCode)
        Deprecated.
        The locale is now determined by the user profile.
      • setLocale

        @Deprecated
        public void setLocale​(Locale loc)
        Deprecated.
        The locale is now determined by the user profile.
      • getLocale

        @Deprecated
        public Locale getLocale()
        Deprecated.
        The locale is now determined by the user profile.