Field Summary |
|
final protected static String | DEFAULT_ALGORITHM The default message digest algorithm to use if we cannot use
the requested one. |
final protected static int | SESSION_ID_BYTES The number of random bytes to include when generating a
session identifier. |
protected String | algorithm The message digest algorithm to be used when generating session
identifiers. |
protected Container | container The Container with which this Manager is associated. |
protected int | debug The debugging detail level for this component. |
protected MessageDigest | digest Return the MessageDigest implementation to be used when
creating session identifiers. |
protected boolean | distributable The distributable flag for Sessions created by this Manager. |
protected String | entropy A String initialization parameter used to increase the entropy of
the initialization of our random number generator. |
protected int | maxInactiveInterval The default maximum inactive interval for Sessions created by
this Manager. |
protected static String | name The descriptive name of this Manager implementation (for logging). |
protected Random | random A random number generator to use when generating session identifiers. |
protected String | randomClass The Java class name of the random number generator class to be used
when generating session identifiers. |
protected ArrayList | recycled The set of previously recycled Sessions for this Manager. |
protected HashMap | sessions The set of currently active Sessions for this Manager, keyed by
session identifier. |
protected static StringManager | sm The string manager for this package. |
protected PropertyChangeSupport | support The property change support for this component. |
Method Summary |
|
public void | add(Session session) Add this Session to the set of active Sessions for this Manager. |
public void | addPropertyChangeListener(PropertyChangeListener listener) Add a property change listener to this component. |
public Session | createSession() Construct and return a new session object, based on the default
settings specified by this Manager's properties. |
public Session | findSession(String id) Return the active Session, associated with this Manager, with the
specified session id (if any); otherwise return null . |
public Session[] | findSessions() Return the set of active Sessions associated with this Manager. |
protected synchronized String | generateSessionId() Generate and return a new session identifier. |
public String | getAlgorithm() Return the message digest algorithm for this Manager. |
public Container | getContainer() Return the Container with which this Manager is associated. |
public int | getDebug() Return the debugging detail level for this component. |
public synchronized MessageDigest | getDigest() Return the MessageDigest object to be used for calculating
session identifiers. |
public boolean | getDistributable() Return the distributable flag for the sessions supported by
this Manager. |
public Engine | getEngine() Retrieve the enclosing Engine for this Manager. |
public String | getEntropy() Return the entropy increaser value, or compute a semi-useful value
if this String has not yet been set. |
public String | getInfo() Return descriptive information about this Manager implementation and
the corresponding version number, in the format
<description>/<version> . |
public String | getJvmRoute() Retrieve the JvmRoute for the enclosing Engine. |
public int | getMaxInactiveInterval() Return the default maximum inactive interval (in seconds)
for Sessions created by this Manager. |
public String | getName() Return the descriptive short name of this Manager implementation. |
public synchronized Random | getRandom() Return the random number generator instance we should use for
generating session identifiers. |
public String | getRandomClass() Return the random number generator class name. |
void | log(String message) Log a message on the Logger associated with our Container (if any). |
void | log(String message, Throwable throwable) Log a message on the Logger associated with our Container (if any). |
void | recycle(Session session) Add this Session to the recycle collection for this Manager. |
public void | remove(Session session) Remove this Session from the active Sessions for this Manager. |
public void | removePropertyChangeListener(PropertyChangeListener listener) Remove a property change listener from this component. |
public void | setAlgorithm(String algorithm) Set the message digest algorithm for this Manager. |
public void | setContainer(Container container) Set the Container with which this Manager is associated. |
public void | setDebug(int debug) Set the debugging detail level for this component. |
public void | setDistributable(boolean distributable) Set the distributable flag for the sessions supported by this
Manager. |
public void | setEntropy(String entropy) Set the entropy increaser value. |
public void | setMaxInactiveInterval(int interval) Set the default maximum inactive interval (in seconds)
for Sessions created by this Manager. |
public void | setRandomClass(String randomClass) Set the random number generator class name. |