mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Matthew Swift
17.16.2015 a915010eecffccd5a4169996ed42331a2d94769c
refs
author Matthew Swift <matthew.swift@forgerock.com>
Thursday, December 17, 2015 13:16 +0100
committer Matthew Swift <matthew.swift@forgerock.com>
Thursday, December 17, 2015 13:16 +0100
commita915010eecffccd5a4169996ed42331a2d94769c
tree 78af094b6fbc22b9a691c3b05c4b39ea10d7e135 tree | zip | gz
parent be0d3e368ca9459430cbae93cf96c40413696027 view | diff
OPENDJ-2557 - use a secure PRNG when generating password content

Use SecureRandom() when generating password content in order to make
generated passwords less predictable. On *nix systems this
implementation will consume data from /dev/urandom which is slower than
using a PRNG and may also block if there is insufficient entropy.
However, password generation is a relatively rare event, so the
potential performance implications can be ignored.
1 files modified
4 ■■■■ changed files
opendj-server-legacy/src/main/java/org/opends/server/types/NamedCharacterSet.java 4 ●●●● diff | view | raw | blame | history