public class IDGenerator extends Object
| Modifier and Type | Field and Description |
|---|---|
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 |
|---|
IDGenerator() |
protected static final int SESSION_ID_BYTES
protected static Random random
protected static String randomClass
public static String generateID()
Copyright © 2004–2015 The Apache Software Foundation. All rights reserved.