public class IDGenerator
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static java.util.Random |
random
A random number generator to use when generating session identifiers.
|
protected static java.lang.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() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
generateID()
Generate and return a new session identifier.
|
protected static final int SESSION_ID_BYTES
protected static java.util.Random random
protected static java.lang.String randomClass
Copyright © 2004-2018 The Apache Software Foundation. All Rights Reserved.