liferay/liferay-portal — pull request #188 by oliveti (2012-02-07 08:55:49+00:00)
Title: Modifications to user SecureRandom instead of Math.random()

Referring to the Jira ticket LPS-25363.
The class PwdGenerator is used to generate dynamic passwords and authToken. It's better in this kind of context to use SecureRandom to generate numbers.