mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-10-27 15:13:07 +00:00
GUACAMOLE-1289: Prevent IdentifierGenerator utility class from being instantiated.
This commit is contained in:
@@ -36,6 +36,12 @@ public class IdentifierGenerator {
|
|||||||
*/
|
*/
|
||||||
private static final SecureRandom secureRandom = new SecureRandom();
|
private static final SecureRandom secureRandom = new SecureRandom();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* IdentifierGenerator is a utility class that is not intended to be
|
||||||
|
* separately instantiated.
|
||||||
|
*/
|
||||||
|
private IdentifierGenerator() {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generates a unique and unpredictable identifier. Each identifier is at
|
* Generates a unique and unpredictable identifier. Each identifier is at
|
||||||
* least 256-bit and produced using a cryptographically-secure random
|
* least 256-bit and produced using a cryptographically-secure random
|
||||||
|
|||||||
Reference in New Issue
Block a user