Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Unknown
Description
Sonarqube and others will report these to use SecureRandom instead. But this is only for security related use such as crypto, certificates and whatnot.
In Camel we use random numbers in some places, and there is also the random function in the simple language.
So mark those with // NOSONAR in the source code (same line as new Random() are).
And then only use SecureRandom in security matters.