Class PasswordTools
- java.lang.Object
-
- de.aristaflow.adept2.model.orgmodel.PasswordTools
-
@Deprecated(since="14.5.0", forRemoval=true) public class PasswordTools extends Object
Deprecated, for removal: This API element is subject to removal in a future version.The logic of this class will be moved to an OMM plugin and integrated into the OMM.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PasswordTools.PasswordStrength
Deprecated, for removal: This API element is subject to removal in a future version.The password strength information including score, verbal strength and for passwords that are not strong enough a warning and suggestions to help to choose a better password.
-
Constructor Summary
Constructors Constructor Description PasswordTools()
Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static PasswordTools.PasswordStrength
measurePassword(String password, Locale locale)
Deprecated, for removal: This API element is subject to removal in a future version.Estimate the strength of the given password and return a localised result.
-
-
-
Method Detail
-
measurePassword
public static final PasswordTools.PasswordStrength measurePassword(String password, Locale locale)
Deprecated, for removal: This API element is subject to removal in a future version.Estimate the strength of the given password and return a localised result.- Parameters:
password
- The password to measure.locale
- The locale to use for warning and suggestions.- Returns:
- The estimated password strength.
-
-