|
Apache Tomcat 7.0.39 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.catalina.util.SessionIdGenerator
public class SessionIdGenerator
Constructor Summary | |
---|---|
SessionIdGenerator()
|
Method Summary | |
---|---|
String |
generateSessionId()
Generate and return a new session identifier. |
void |
setJvmRoute(String jvmRoute)
Specify the node identifier associated with this node which will be included in the generated session ID. |
void |
setSecureRandomAlgorithm(String secureRandomAlgorithm)
Specify a non-default algorithm to use to generate random numbers. |
void |
setSecureRandomClass(String secureRandomClass)
Specify a non-default @{link SecureRandom implementation to use. |
void |
setSecureRandomProvider(String secureRandomProvider)
Specify a non-default provider to use to generate random numbers. |
void |
setSessionIdLength(int sessionIdLength)
Specify the number of bytes for a session ID |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SessionIdGenerator()
Method Detail |
---|
public void setSecureRandomClass(String secureRandomClass)
SecureRandom
implementation to use.
secureRandomClass
- The fully-qualified class namepublic void setSecureRandomAlgorithm(String secureRandomAlgorithm)
secureRandomAlgorithm
- The name of the algorithmpublic void setSecureRandomProvider(String secureRandomProvider)
secureRandomProvider
- The name of the providerpublic void setJvmRoute(String jvmRoute)
jvmRoute
- The node identifierpublic void setSessionIdLength(int sessionIdLength)
sessionIdLength
- Number of bytespublic String generateSessionId()
|
Apache Tomcat 7.0.39 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |