Package it.rol
Class PasswordGenerator
java.lang.Object
it.rol.PasswordGenerator
PasswordGenerator.java è una classe di utilità che può essere utilizzata per generare automaticamente password rispondenti ai criteri specificati.
- This class is immutable
- It uses the builder pattern
- It doesn't support extension
This specific class is released by the author in the Public Domain.
In this specific application, pol, altough, this public license is been
wrapped by the GNU General Public License (GNU GPL) according to the
principles applied to the most of our other sources.
- Author:
- George Siggouroglou, Giovanroberto Torre
-
Nested Class Summary
Nested Classes -
Method Summary
-
Method Details
-
generate
This method will generate a password depending the use* properties you define. It will use the categories with a probability. It is not sure that all of the defined categories will be used.- Parameters:
length- the length of the password you would like to generate.- Returns:
- a password that uses the categories you define when constructing the object with a probability.
-