Uses of Interface
org.apache.catalina.Session
-
Packages that use Session Package Description com.sun.enterprise.security.web com.sun.web.security org.apache.catalina org.apache.catalina.authenticator This package containsAuthenticatorimplementations for the various supported authentication methods (BASIC, DIGEST, and FORM).org.apache.catalina.connector org.apache.catalina.core org.apache.catalina.session This package contains the standardManagerandSessionimplementations that represent the collection of active sessions and the individual sessions themselves, respectively, that are associated with aContext.org.apache.catalina.valves This package contains a variety of small Valve implementations that do not warrant being packaged separately.org.glassfish.web.ha.authenticator org.glassfish.web.ha.session.management -
-
Uses of Session in com.sun.enterprise.security.web
Methods in com.sun.enterprise.security.web with parameters of type Session Modifier and Type Method Description protected voidGlassFishSingleSignOn. removeSession(String ssoId, Session session)Remove a single Session from a SingleSignOn. -
Uses of Session in com.sun.web.security
Methods in com.sun.web.security that return Session Modifier and Type Method Description SessionHttpRequestWrapper. getSessionInternal(boolean create)SessionHttpRequestWrapper. lockSession() -
Uses of Session in org.apache.catalina
Methods in org.apache.catalina that return Session Modifier and Type Method Description SessionManager. createEmptySession()Get a session from the recycled ones or create a new empty one.SessionManager. createSession()Construct and return a new session object, based on the default settings specified by this Manager's properties.SessionManager. createSession(String sessionId)Construct and return a new session object, based on the default settings specified by this Manager's properties, using the specified session id.SessionManager. findSession(String id)Return the active Session, associated with this Manager, with the specified session id (if any); otherwise returnnull.SessionManager. findSession(String id, jakarta.servlet.http.HttpServletRequest request)Gets the session with the given id from the given request.SessionManager. findSession(String id, String version)Finds and returns the session with the given id that also satisfies the given version requirement.SessionSessionEvent. getSession()Return the Session on which this event occurred.SessionRequest. getSessionInternal(boolean create)Gets the session associated with this Request, creating one if necessary and requested.SessionStore. load(String id)Load and return the Session associated with the specified session identifier from this Store, without removing it.SessionRequest. lockSession()Methods in org.apache.catalina that return types with arguments of type Session Modifier and Type Method Description List<Session>Manager. findSessions()Return the set of active Sessions associated with this Manager.Methods in org.apache.catalina with parameters of type Session Modifier and Type Method Description voidManager. add(Session session)Add this Session to the set of active Sessions for this Manager.voidManager. changeSessionId(Session session)Change the session ID of the current session to a new randomly generated session ID.voidManager. remove(Session session)Remove this Session from the active Sessions for this Manager.voidStore. save(Session session)Save the specified Session into this Store.jakarta.servlet.http.CookieManager. toCookie(Session session)Converts the given session into a cookie as a way of persisting it.Constructors in org.apache.catalina with parameters of type Session Constructor Description SessionEvent(Session session, String type, Object data)Construct a new SessionEvent with the specified parameters. -
Uses of Session in org.apache.catalina.authenticator
Fields in org.apache.catalina.authenticator with type parameters of type Session Modifier and Type Field Description protected Map<String,Session>SingleSignOnEntry. sessionsMethods in org.apache.catalina.authenticator that return Session Modifier and Type Method Description protected SessionAuthenticatorBase. getSession(HttpRequest request)Return the internal Session that is associated with this HttpRequest, ornullif there is no such Session.protected SessionAuthenticatorBase. getSession(HttpRequest request, boolean create)Return the internal Session that is associated with this HttpRequest, possibly creating a new one if necessary, ornullif there is no such session and we did not create one.Methods in org.apache.catalina.authenticator with parameters of type Session Modifier and Type Method Description booleanSingleSignOnEntry. addSession(SingleSignOn sso, Session session)Adds the given session to this SingleSignOnEntry if it does not already exist.protected voidAuthenticatorBase. associate(String ssoId, long ssoVersion, Session session)Associate the specified single sign on identifier with the specified Session.voidSingleSignOn. associate(String ssoId, long ssoVersion, Session session)Associate the specified single sign on identifier with the specified Session.protected voidSingleSignOn. deregister(String ssoId, Session session)Deregister the specified session.voidSingleSignOnEntry. removeSession(Session session)protected booleanFormAuthenticator. restoreRequest(HttpRequest request, Session session)Restore the original request from information stored in our session.protected StringFormAuthenticator. savedRequestURL(Session session)Return the request URI (with the corresponding query string, if any) from the saved request so that we can redirect to it.protected voidFormAuthenticator. saveRequest(HttpRequest request, Session session)Save the original request information into our session. -
Uses of Session in org.apache.catalina.connector
Fields in org.apache.catalina.connector declared as Session Modifier and Type Field Description protected SessionRequest. sessionThe currently active session for this request.Methods in org.apache.catalina.connector that return Session Modifier and Type Method Description protected SessionRequest. doGetSession(boolean create)SessionRequest. getSessionInternal()Return the session associated with this Request, creating one if necessary.SessionRequest. getSessionInternal(boolean create)Gets the session associated with this Request, creating one if necessary and requested.SessionRequest. lockSession()lock the session associated with this request this will be a foreground lock checks for background lock to clear and does a decay poll loop to wait until it is clear; after 5 times it takes control for the foregroundMethods in org.apache.catalina.connector with parameters of type Session Modifier and Type Method Description voidRequest. setSession(Session newSess)set the session - this method is not for general usevoidSessionTracker. track(Session session)Tracks the given session, by registering this SessionTracker as a listener with the given session, and by incrementing the counter of currently tracked sessions. -
Uses of Session in org.apache.catalina.core
Fields in org.apache.catalina.core declared as Session Modifier and Type Field Description protected SessionApplicationHttpRequest. sessionThe currently active session for this request.Methods in org.apache.catalina.core that return Session Modifier and Type Method Description SessionDummyRequest. getSessionInternal(boolean create)SessionDummyRequest. lockSession() -
Uses of Session in org.apache.catalina.session
Classes in org.apache.catalina.session that implement Session Modifier and Type Class Description classStandardSessionStandard implementation of the Session interface.Fields in org.apache.catalina.session with type parameters of type Session Modifier and Type Field Description protected Map<String,Session>ManagerBase. sessionsThe set of currently active Sessions for this Manager, keyed by session identifier.Methods in org.apache.catalina.session that return Session Modifier and Type Method Description SessionManagerBase. createEmptySession()Get a session from the recycled ones or create a new empty one.SessionManagerBase. createSession()Construct and return a new session object, based on the default settings specified by this Manager's properties.SessionManagerBase. createSession(String sessionId)Construct and return a new session object, based on the default settings specified by this Manager's properties, using the specified session id.SessionPersistentManagerBase. createSession()Return a new session object as long as the number of active sessions does not exceed maxActiveSessions.SessionPersistentManagerBase. createSession(String sessionId)Construct and return a new session object, based on the default settings specified by this Manager's properties, using the specified session id.SessionStandardManager. createSession()Construct and return a new session object, based on the default settings specified by this Manager's properties.SessionStandardManager. createSession(String sessionId)Construct and return a new session object, based on the default settings specified by this Manager's properties, using the specified session id.SessionCookiePersistentManager. findSession(String id, jakarta.servlet.http.HttpServletRequest request)SessionManagerBase. findSession(String id)Return the active Session, associated with this Manager, with the specified session id (if any); otherwise returnnull.SessionManagerBase. findSession(String id, jakarta.servlet.http.HttpServletRequest request)SessionManagerBase. findSession(String id, String version)Finds and returns the session with the given id that also satisfies the given version requirement.SessionPersistentManagerBase. findSession(String id)Return the active Session, associated with this Manager, with the specified session id (if any); otherwise returnnull.SessionPersistentManagerBase. findSession(String id, boolean removeCachedCopy)Return the active Session, associated with this Manager, with the specified session id (if any); otherwise returnnull.SessionFileStore. load(String id)Load and return the Session associated with the specified session identifier from this Store, without removing it.SessionJDBCStore. load(String id)Load the Session associated with the idid.SessionStoreBase. load(String id, String version)Load and return the Session associated with the specified session identifier from this Store, without removing it.SessionStoreBase. readSession(Manager manager, ObjectInputStream ois)Create a session object from an input stream.protected SessionPersistentManagerBase. superFindSession(String id)used by subclasses of PersistentManagerBase Hercules: added methodprotected SessionPersistentManagerBase. swapIn(String id)Look for a session in the Store and, if found, restore it in the Manager's list of active sessions if appropriate.protected SessionPersistentManagerBase. swapIn(String id, String version)Look for a session in the Store and, if found, restore it in the Manager's list of active sessions if appropriate.Methods in org.apache.catalina.session that return types with arguments of type Session Modifier and Type Method Description List<Session>CookiePersistentManager. findSessions()List<Session>ManagerBase. findSessions()Methods in org.apache.catalina.session with parameters of type Session Modifier and Type Method Description voidCookiePersistentManager. add(Session session)voidManagerBase. add(Session session)Add this Session to the set of active Sessions for this Manager.voidManagerBase. changeSessionId(Session session)Change the session ID of the current session to a new randomly generated session ID.voidCookiePersistentManager. remove(Session session)voidManagerBase. remove(Session session)Remove this Session from the active Sessions for this Manager.voidPersistentManagerBase. remove(Session session)Remove this Session from the active Sessions for this Manager, and from the Store.voidPersistentManagerBase. remove(Session session, boolean persistentRemove)Remove this Session from the active Sessions for this Manager, and from the Store.voidPersistentManagerBase. removeSuper(Session session)Remove this Session from the active Sessions for this Manager, but not from the Store.voidFileStore. save(Session session)Save the specified Session into this Store.voidJDBCStore. save(Session session)Save a session to the Store.protected voidPersistentManagerBase. swapOut(Session session)Remove the session from the Manager's list of active sessions and write it out to the Store.jakarta.servlet.http.CookieCookiePersistentManager. toCookie(Session session)jakarta.servlet.http.CookieManagerBase. toCookie(Session session)protected voidPersistentManagerBase. writeSession(Session session)Write the provided session to the Store without modifying the copy in memory or triggering passivation events.voidStoreBase. writeSession(Session sess, ObjectOutputStream oos)Serialize a session into an output stream. -
Uses of Session in org.apache.catalina.valves
Methods in org.apache.catalina.valves with parameters of type Session Modifier and Type Method Description protected booleanPersistentValve. isSessionStale(Session session, long timeNow)Indicate whether the session has been idle for longer than its expiration date as of the supplied time. -
Uses of Session in org.glassfish.web.ha.authenticator
Methods in org.glassfish.web.ha.authenticator with parameters of type Session Modifier and Type Method Description booleanHASingleSignOnEntry. addSession(SingleSignOn sso, Session session)voidHASingleSignOn. associate(String ssoId, long ssoVersion, Session session)protected voidHASingleSignOn. removeSession(String ssoId, Session session)voidHASingleSignOnEntry. removeSession(Session session) -
Uses of Session in org.glassfish.web.ha.session.management
Subinterfaces of Session in org.glassfish.web.ha.session.management Modifier and Type Interface Description interfaceHASessionClasses in org.glassfish.web.ha.session.management that implement Session Modifier and Type Class Description classBaseHASessionclassFullHASessionclassModifiedAttributeHASessionclassModifiedHASessionMethods in org.glassfish.web.ha.session.management that return Session Modifier and Type Method Description SessionReplicationManagerBase. createEmptySession()SessionReplicationManagerBase. createNewSession()SessionFullSessionFactory. createSession(Manager mgr)create a new sessionSessionModifiedAttributeSessionFactory. createSession(Manager mgr)create a new sessionSessionModifiedSessionFactory. createSession(Manager mgr)create a new sessionSessionSessionFactory. createSession(Manager mgr)SessionReplicationManagerBase. findSession(String id, String version)SessionReplicationAttributeStore. getSession(CompositeMetadata metadata)SessionReplicationStore. getSession(byte[] state, long version)SessionReplicationAttributeStore. load(String id, String version)SessionReplicationStore. load(String id)Load and return the Session associated with the specified session identifier from this Store, without removing it.SessionReplicationStore. load(String id, String version)Methods in org.glassfish.web.ha.session.management with parameters of type Session Modifier and Type Method Description voidReplicationWebEventPersistentManager. add(Session session)voidReplicationAttributeStore. doSave(Session session)Save the specified Session into this Store.voidReplicationStore. doSave(Session session)Save the specified Session into this Store.voidReplicationAttributeStore. doValveSave(Session session)Save the specified Session into this Store.abstract voidReplicationManagerBase. doValveSave(Session session)voidReplicationStore. doValveSave(Session session)Save the specified Session into this Store.voidReplicationWebEventPersistentManager. doValveSave(Session session)called from valve; does the save of sessionvoidWebEventPersistentManager. doValveSave(Session session)byte[]HAStoreBase. getByteArray(Session session)Create serialized byte[] forobj.protected byte[]HAStoreBase. getByteArray(Session session, boolean compress)Create an byte[] for the session that we can then pass to the HA Store.voidReplicationManagerBase. removeSessionFromManagerCache(Session session)voidReplicationAttributeStore. save(Session session)Save the specified Session into this Store.voidReplicationStore. save(Session session)Save the specified Session into this Store.voidReplicationStore. updateLastAccessTime(Session session)update the lastaccess time of the specified Session into this Store.voidReplicationAttributeStore. valveSave(Session session)Save the specified Session into this Store.voidReplicationStore. valveSave(Session session)Save the specified Session into this Store.
-