|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.axis2.saaj.util.IDGenerator
public class IDGenerator
Code borrowed from AuthenticatorBase.java for generating a secure id's.
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
IDGenerator()
|
|
| Method Summary | |
|---|---|
static String |
generateID()
Generate and return a new session identifier. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final int SESSION_ID_BYTES
protected static Random random
protected static String randomClass
| Constructor Detail |
|---|
public IDGenerator()
| Method Detail |
|---|
public static String generateID()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||