…igbluebutton#26279)
8457886 introduced Util.randomAlphanumeric, backed by SecureRandom,
for the user id, auth token and session token created on join. Four
values were still drawn from commons-lang3 RandomStringUtils: the
session token of a join with existingUserID, the learning dashboard
access token, the attendee and moderator passwords generated when create
carries none, and the generated telVoice number. Route them through the
same helper, with a randomNumeric variant for telVoice, and drop the
RandomStringUtils imports.
(cherry picked from commit a1c8a07)
Backport of #26279 to 3.0.
Details
## Whatbbb-web already generates the user id, auth token and session token on join with the
Utilhelper backed bySecureRandom. This routes the values it still drew from commons-lang3RandomStringUtilsthrough the same helper:existingUserID;createcarries none;randomNumericvariant.The commit is cherry-picked with
-xand applies unchanged.How to test
createwithout passwords orvoiceBridge: the response still has generated passwords and a voice bridge number of the usual length. Joining and opening the learning dashboard work as before.