Package | Description |
---|---|
org.apache.catalina | |
org.apache.catalina.authenticator |
This package contains
Authenticator implementations for the
various supported authentication methods (BASIC, DIGEST, and FORM). |
org.apache.catalina.connector | |
org.apache.catalina.session |
This package contains the standard
Manager and
Session implementations that represent the collection of
active sessions and the individual sessions themselves, respectively,
that are associated with a Context . |
org.apache.catalina.valves |
This package contains a variety of small Valve implementations that do
not warrant being packaged separately.
|
Modifier and Type | Method and Description |
---|---|
Session |
Manager.createEmptySession()
Get a session from the recycled ones or create a new empty one.
|
Session |
Manager.createSession(String sessionId,
Random random)
Construct and return a new session object, based on the default
settings specified by this Manager's properties.
|
Session |
Manager.findSession(String id)
Return the active Session, associated with this Manager, with the
specified session id (if any); otherwise return
null . |
Session[] |
Manager.findSessions()
Return the set of active Sessions associated with this Manager.
|
Session |
SessionEvent.getSession()
Return the Session on which this event occurred.
|
Session |
Store.load(String id)
Load and return the Session associated with the specified session
identifier from this Store, without removing it.
|
Modifier and Type | Method and Description |
---|---|
void |
Manager.add(Session session)
Add this Session to the set of active Sessions for this Manager.
|
void |
Manager.changeSessionId(Session session,
Random random)
Change the session ID of the current session to a new randomly generated
session ID.
|
void |
Manager.remove(Session session)
Remove this Session from the active Sessions for this Manager.
|
void |
Store.save(Session session)
Save the specified Session into this Store.
|
Constructor and Description |
---|
SessionEvent(Session session,
String type,
Object data)
Construct a new SessionEvent with the specified parameters.
|
Modifier and Type | Field and Description |
---|---|
protected Session[] |
SingleSignOnEntry.sessions |
Modifier and Type | Field and Description |
---|---|
protected Map<Session,String> |
SingleSignOn.reverse
The cache of single sign on identifiers, keyed by the Session that is
associated with them.
|
Modifier and Type | Method and Description |
---|---|
Session[] |
SingleSignOnEntry.findSessions()
Returns the
Session s associated with this SSO. |
Modifier and Type | Method and Description |
---|---|
void |
SingleSignOnEntry.addSession(SingleSignOn sso,
Session session)
Adds a
Session to the list of those associated with
this SSO. |
protected void |
AuthenticatorBase.associate(String ssoId,
Session session)
Associate the specified single sign on identifier with the
specified Session.
|
void |
SingleSignOn.associate(String ssoId,
Session session)
Associate the specified single sign on identifier with the
specified Session.
|
protected void |
SingleSignOn.deregister(String ssoId,
Session session)
Deregister the specified session.
|
void |
SingleSignOnEntry.removeSession(Session session)
Removes the given
Session from the list of those
associated with this SSO. |
protected void |
SingleSignOn.removeSession(String ssoId,
Session session)
Remove a single Session from a SingleSignOn.
|
protected boolean |
FormAuthenticator.restoreRequest(Request request,
Session session)
Restore the original request from information stored in our session.
|
protected String |
FormAuthenticator.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 void |
FormAuthenticator.saveRequest(Request request,
Session session)
Save the original request information into our session.
|
Modifier and Type | Field and Description |
---|---|
protected Session |
Request.session
The currently active session for this request.
|
Modifier and Type | Method and Description |
---|---|
protected Session |
Request.doGetSession(boolean create) |
Session |
Request.getSessionInternal()
Return the session associated with this Request, creating one
if necessary.
|
Session |
Request.getSessionInternal(boolean create)
Return the session associated with this Request, creating one
if necessary and requested.
|
Modifier and Type | Class and Description |
---|---|
class |
StandardSession
Standard implementation of the Session interface.
|
Modifier and Type | Field and Description |
---|---|
protected Map<String,Session> |
ManagerBase.sessions
The set of currently active Sessions for this Manager, keyed by
session identifier.
|
Modifier and Type | Method and Description |
---|---|
Session |
ManagerBase.createEmptySession()
Get a session from the recycled ones or create a new empty one.
|
Session |
StandardManager.createSession(String sessionId,
Random random)
Construct and return a new session object, based on the default
settings specified by this Manager's properties.
|
Session |
ManagerBase.createSession(String sessionId,
Random random)
Construct and return a new session object, based on the default
settings specified by this Manager's properties.
|
Session |
ManagerBase.findSession(String id)
Return the active Session, associated with this Manager, with the
specified session id (if any); otherwise return
null . |
Session |
PersistentManagerBase.findSession(String id)
Return the active Session, associated with this Manager, with the
specified session id (if any); otherwise return
null . |
Session[] |
ManagerBase.findSessions()
Return the set of active Sessions associated with this Manager.
|
Session |
JDBCStore.load(String id)
Load the Session associated with the id
id . |
Session |
FileStore.load(String id)
Load and return the Session associated with the specified session
identifier from this Store, without removing it.
|
protected Session |
PersistentManagerBase.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.
|
Modifier and Type | Method and Description |
---|---|
void |
ManagerBase.add(Session session)
Add this Session to the set of active Sessions for this Manager.
|
void |
ManagerBase.changeSessionId(Session session,
Random random)
Change the session ID of the current session to a new randomly generated
session ID.
|
void |
ManagerBase.remove(Session session)
Remove this Session from the active Sessions for this Manager.
|
void |
PersistentManagerBase.remove(Session session)
Remove this Session from the active Sessions for this Manager,
and from the Store.
|
void |
PersistentManagerBase.removeSuper(Session session)
Remove this Session from the active Sessions for this Manager,
but not from the Store.
|
void |
JDBCStore.save(Session session)
Save a session to the Store.
|
void |
FileStore.save(Session session)
Save the specified Session into this Store.
|
protected void |
PersistentManagerBase.swapOut(Session session)
Remove the session from the Manager's list of active
sessions and write it out to the Store.
|
protected void |
PersistentManagerBase.writeSession(Session session)
Write the provided session to the Store without modifying
the copy in memory or triggering passivation events.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
PersistentValve.isSessionStale(Session session,
long timeNow)
Indicate whether the session has been idle for longer
than its expiration date as of the supplied time.
|
Copyright © 2016 JBoss by Red Hat. All rights reserved.