Package io.undertow.websockets.util
Class SecureRandomSessionIdGenerator
java.lang.Object
io.undertow.websockets.util.SecureRandomSessionIdGenerator
A generator 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.
- Author:
- Stuart Douglas
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SecureRandomSessionIdGenerator
public SecureRandomSessionIdGenerator()
-
-
Method Details
-
createSessionId
-
getLength
public int getLength() -
setLength
public void setLength(int length)
-