Class 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.
    • Constructor Detail

      • PasswordTools

        public PasswordTools()
        Deprecated, for removal: This API element is subject to removal in a future version.
    • 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.