Class Session

  • All Implemented Interfaces:
    ISession, de.uplanet.util.IDumpable

    @Deprecated
    public class Session
    extends AbstractSession
    implements de.uplanet.util.IDumpable
    Deprecated.
    This class is superseded be the respective classes in server-standalone and server-distributed.
    • Method Detail

      • getManager

        @Deprecated
        public de.uplanet.lucy.server.session.ISessionManager getManager()
        Deprecated.
        This method will be removed in future versions of Intrexx.
        Get this session's manager.
        Returns:
        The session manager.
      • setManager

        public void setManager​(de.uplanet.lucy.server.session.ISessionManager p_manager)
        Deprecated.
        Associates this session with a session manager.
        Specified by:
        setManager in class AbstractSession
        Parameters:
        p_manager - The manager to set.
      • getUser

        public IUser getUser()
        Deprecated.
        Description copied from interface: ISession
        Get the user that is associated with the session.
        Specified by:
        getUser in interface ISession
        Returns:
        The user that is associated with this session, or null.
      • hasAuthenticatedUser

        @Deprecated
        public boolean hasAuthenticatedUser()
        Deprecated.
        Returns:
        true if the session has an aggregated user object, false otherwise.
      • getAuthConfigName

        public String getAuthConfigName()
        Deprecated.
        Description copied from interface: ISession
        Get the name of the authentication configuration used to login this session.
        Specified by:
        getAuthConfigName in interface ISession
        Returns:
        The name of the authentication configuration.
      • isAnonymous

        public boolean isAnonymous()
        Deprecated.
        Description copied from interface: ISession
        Determine if the session is an anonymous session.
        Specified by:
        isAnonymous in interface ISession
        Returns:
        true if the session is anonymous, false otherwise.
      • getSessionVars

        public Map<String,​Object> getSessionVars()
        Deprecated.
        Get a reference to the internal collection of session variables.
        Specified by:
        getSessionVars in class AbstractSession
        Returns:
        A reference to the internal collection of session variables.
      • getTimeout

        public long getTimeout()
        Deprecated.
        Description copied from interface: ISession
        Get the session timeout.
        Specified by:
        getTimeout in interface ISession
        Returns:
        p_lTimeout The timeout in milliseconds.
      • setTimeout

        public void setTimeout​(long p_lTimeout)
        Deprecated.
        Description copied from interface: ISession
        Set the session timeout.
        Specified by:
        setTimeout in interface ISession
        Parameters:
        p_lTimeout - The timeout in milliseconds.
      • getLastAccessTime

        public long getLastAccessTime()
        Deprecated.
        Description copied from interface: ISession
        Get the time of the last access to this session.
        Specified by:
        getLastAccessTime in interface ISession
        Returns:
        The time of last access.
      • isStale

        public boolean isStale​(long p_lTimeNow)
        Deprecated.
        Description copied from interface: ISession
        Test if the session has timed out.
        Specified by:
        isStale in interface ISession
        Returns:
        true if the session has timed out, false otherwise.
      • touch

        public void touch()
        Deprecated.
        Description copied from interface: ISession
        Touch the session.
        Specified by:
        touch in interface ISession
      • logout

        public void logout()
        Deprecated.
        This method merely delegates logout calls to the associated session manager.
        Specified by:
        logout in interface ISession
      • dump

        public String dump()
        Deprecated.
        Specified by:
        dump in interface de.uplanet.util.IDumpable