Skip to content

Commit

Permalink
GUACAMOLE-1289: Prevent IdentifierGenerator utility class from being …
Browse files Browse the repository at this point in the history
…instantiated.
  • Loading branch information
mike-jumper committed Apr 26, 2024
1 parent 9cca3dc commit 13bb5f0
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 13bb5f0

Please sign in to comment.