public class SessionUtils extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
log
Field log
|
protected static Random |
random
A random number generator to use when generating session identifiers.
|
protected static String |
randomClass
The Java class name of the random number generator class to be used
when generating session identifiers.
|
protected static int |
SESSION_ID_BYTES
The number of random bytes to include when generating a
session identifier.
|
Constructor and Description |
---|
SessionUtils() |
Modifier and Type | Method and Description |
---|---|
static Long |
generateSession()
Generate and return a new session identifier.
|
static String |
generateSessionId()
Generate and return a new session identifier.
|
protected static org.apache.commons.logging.Log log
protected static final int SESSION_ID_BYTES
protected static Random random
protected static String randomClass
Copyright © The Apache Software Foundation. All Rights Reserved.