| java.lang.Object com.sun.portal.wsrp.common.KeyGenerator
KeyGenerator | public class KeyGenerator (Code) | | |
convertSessionIdBytesToSessionId | static String convertSessionIdBytesToSessionId(byte[] pBytes)(Code) | | Converts the specified byte array to a String to be used for the
session id. The conversion is performed breaking the byte array
into groups of 5 bits, then taking each group (value 0-31) and
converting to a character 'A'-'Z', '0'-'9'.
|
generateSessionId | static String generateSessionId()(Code) | | Generates a new unique Session id. Subclasses may override this
to provide their own session id generation mechanisms. One thing
to keep in mind is that a session's swap file is taken directly
from the session id, so the session id should be something that
can be used as a file name. In particular, some OS's
case-insensitive with regards to file names. Thus a good
character set to use for session id's are the capital letters and
numeric digits.
|
generateSessionIdCount | static synchronized int generateSessionIdCount()(Code) | | Returns a new unique integer
|
|
|