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 and Description |
---|
SecureRandomSessionIdGenerator() |
Modifier and Type | Method and 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 © 2017 JBoss by Red Hat. All rights reserved.