GUACAMOLE-1289: Prevent IdentifierGenerator utility class from being instantiated.
This commit is contained in:
1 parent
9cca3dc657
commit
13bb5f0e30
1 file changed
+6
@@ -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