|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.axis.utils.SessionUtils
Code borrowed from AuthenticatorBase.java for generating a secure id's.
Field Summary | |
protected static java.lang.String |
algorithm
The message digest algorithm to be used when generating session identifiers. |
protected static java.lang.String |
DEFAULT_ALGORITHM
The default message digest algorithm to use if we cannot use the requested one. |
protected static java.security.MessageDigest |
digest
Return the MessageDigest implementation to be used when creating session identifiers. |
protected static org.apache.commons.logging.Log |
log
Field log |
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 Summary | |
SessionUtils()
|
Method Summary | |
static java.lang.Long |
generateSession()
Generate and return a new session identifier. |
static java.lang.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 org.apache.commons.logging.Log log
protected static final java.lang.String DEFAULT_ALGORITHM
protected static final int SESSION_ID_BYTES
protected static java.lang.String algorithm
java.security.MessageDigest
class on your platform.
protected static java.security.MessageDigest digest
protected static java.util.Random random
protected static java.lang.String randomClass
Constructor Detail |
public SessionUtils()
Method Detail |
public static java.lang.String generateSessionId()
public static java.lang.Long generateSession()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |