GUACAMOLE-1289: Prevent IdentifierGenerator utility class from being instantiated.

This commit is contained in:
Michael Jumper
2024-04-25 17:28:02 -07:00
parent 9cca3dc657
commit 13bb5f0e30

View File

@@ -36,6 +36,12 @@ public class IdentifierGenerator {
*/
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
* least 256-bit and produced using a cryptographically-secure random