SessionIdGenerator
public class SecureRandomSessionIdGenerator extends 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 |
---|---|---|
String |
createSessionId() |
|
int |
getLength() |
|
void |
setLength(int length) |
public String createSessionId()
createSessionId
in interface SessionIdGenerator
public int getLength()
public void setLength(int length)
Copyright © 2018. All rights reserved.