Lines Matching refs:session

29 package com.iplanet.dpro.session.service;
32 import static org.forgerock.openam.session.SessionConstants.*;
52 import org.forgerock.openam.session.AMSession;
53 import org.forgerock.openam.session.SessionEventType;
54 import org.forgerock.openam.session.service.access.SessionPersistenceManager;
55 import org.forgerock.openam.session.service.access.SessionPersistenceObservable;
66 import com.iplanet.dpro.session.SessionException;
67 import com.iplanet.dpro.session.SessionID;
68 import com.iplanet.dpro.session.TokenRestriction;
69 import com.iplanet.dpro.session.share.SessionInfo;
72 import com.sun.identity.session.util.SessionUtilsWrapper;
77 * The <code>InternalSession</code> class represents a Webtop internal session.
79 * A session has four states: invalid, valid, inactive, and destroyed. The initial state of a session is invalid.
119 private static int interval = SystemProperties.getAsInt("com.sun.identity.session.interval", 10);
124 SystemProperties.getAsLong("com.iplanet.am.session.invalidsessionmaxtime", 3);
156 private volatile long timedOutTimeInSeconds = 0; // Value zero means the session has not timed out.
164 * The URL map for session events of THIS session only : SESSION_CREATION, IDLE_TIMEOUT, MAX_TIMEOUT, LOGOUT,
254 * @return SessionID for the internal session object
319 * @return the number of maximum minutes for the session
379 * @return session idle time
388 * @return Time left for the internal session to be invalid
396 * Returns true if the session has timed out due to idle/max timeout period.
397 * @return <code>true</code> if the Internal session has timedout ,
422 * @return The session ID.
430 * @return the session state can be VALID, INVALID, INACTIVE or DESTROYED
437 * Get the authentication context associated with this session.
439 * @return the AuthContextLocal associated with this session
446 * Gets whether this session has an associated authenticationContext.
447 * @return true if this session has an authentication context.
463 * Clears the authentication context from this session.
484 * @return list of properties in the Internal session table.
495 * SessionService. Allowing remote self-updates to session properties leads
686 * @return <code>true</code> if the session is in upgrade state
696 * return <code>true</code> if the internal session is stored
704 * Changes the state of the session to ACTIVE after creation.
706 * @return <code> true </code> if the session is successfully activated
715 // check session quota constraints
724 // safe to proceed with session activation
733 * The session quota checking will be bypassed if:
754 * Sets the willExpireFlag. This flag specify that whether the session will
765 * Sets session timeout time (in millis).
770 Reject.rejectStateIfTrue(!willExpire(), "Cannot timeout non-expiring session.");
807 // Sessions such as authentication session will never be destroyed
814 //Adding the sessionHandle as a session property, so the sessionHandle is available in Session objects.
822 * session, as the number of seconds since midnight January 1, 1970 GMT.
849 * @return Map of session event URLs and their associated SessionIDs.
865 * Adds a listener for the associated session ID.
924 * Determine whether it is an application session.
926 * @return <code>true</code> if this is an application session, <code>false</code> otherwise.
933 * Determine whether it is a user session.
935 * @return <code>true</code> if this is a user session, <code>false</code> otherwise.
950 * Add new restricted token pointing at the same session to the list.
952 * @param newRestrictedTokenId The session ID.
977 * Returns the SessionID of the restricted token for the provided restriction for this session.
987 * Returns the set (possibly empty) of restricted session IDs associated with this session. A restricted session
989 * user session to only be used via a particular agent or from a particular IP address.
992 * restricted tokens associated with the session.
994 * @return the set of restricted tokens associated with this session. Never null but can be empty.
1032 * Used during session deserialization. This method SHALL NOT be invoked by custom code.
1039 //No need to update the session for failover, as this method is invoked only upon session
1044 * Returns the session handle.
1046 * @return The session handle.
1053 * Computes session object expiration time as the smallest of the remaining idle time (or purge delay if the
1054 * session has already timed out) or the session lifetime limit.
1071 * Returns time at which session's lifetime expires.
1085 * Returns time at which session's idle time expires.