org.apache.axis.utils
Class SessionUtils
java.lang.Object
org.apache.axis.utils.SessionUtils
public class SessionUtils
extends java.lang.Object
Code borrowed from AuthenticatorBase.java for generating a secure id's.
protected static int | SESSION_ID_BYTES - The number of random bytes to include when generating a
session identifier.
|
protected static 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.
|
SESSION_ID_BYTES
protected static final int SESSION_ID_BYTES
The number of random bytes to include when generating a
session identifier.
- 16
log
protected static Log log
Field log
random
protected static Random random
A random number generator to use when generating session identifiers.
randomClass
protected static String randomClass
The Java class name of the random number generator class to be used
when generating session identifiers.
generateSession
public static Long generateSession()
Generate and return a new session identifier.
- a new session.
generateSessionId
public static String generateSessionId()
Generate and return a new session identifier.
- a new session id
Copyright B) 2005 Apache Web Services Project. All Rights Reserved.