SessionIdGeneratorpublic class SecureRandomSessionIdGenerator extends java.lang.Object implements SessionIdGenerator
SessionIdGenerator that uses a secure random to generate a
session ID.
On some systems this may perform poorly if not enough entropy is available,
depending on the algorithm in use.| Constructor | Description |
|---|---|
SecureRandomSessionIdGenerator() |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
createSessionId() |
|
int |
getLength() |
|
void |
setLength(int length) |
public java.lang.String createSessionId()
createSessionId in interface SessionIdGeneratorpublic int getLength()
public void setLength(int length)
Copyright © 2018. All rights reserved.