| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.axis.utils.SessionUtils
Code borrowed from AuthenticatorBase.java for generating a secure id's.
| Field Summary | |
| protected static String | algorithmThe message digest algorithm to be used when generating session identifiers. | 
| protected static String | DEFAULT_ALGORITHMThe default message digest algorithm to use if we cannot use the requested one. | 
| protected static MessageDigest | digestReturn the MessageDigest implementation to be used when creating session identifiers. | 
| protected static Random | randomA random number generator to use when generating session identifiers. | 
| protected static String | randomClassThe Java class name of the random number generator class to be used when generating session identifiers. | 
| protected static int | SESSION_ID_BYTESThe number of random bytes to include when generating a session identifier. | 
| Constructor Summary | |
| SessionUtils() | |
| Method Summary | |
| static Long | generateSession()Generate and return a new session identifier. | 
| static String | generateSessionId()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 String DEFAULT_ALGORITHM
protected static final int SESSION_ID_BYTES
protected static String algorithm
java.security.MessageDigest class on your platform.
protected static MessageDigest digest
protected static Random random
protected static String randomClass
| Constructor Detail | 
public SessionUtils()
| Method Detail | 
public static String generateSessionId()
public static Long generateSession()
| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||