Interface PasswordStrength


  • public interface PasswordStrength
    This class represents the strength of a password based on an analysis of a provided (new) password. The OMM may refuse passwords that are too weak.
    Also there may be additional information to display to the user on how to choose an appropriate password.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static class  PasswordStrength.PasswordQuality
      The quality of the password of an agent.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      double getGuesses()
      Gets the amount of average guesses the password or 0 if the amount is unknown.
      String getProblem()
      Gets the problem of the password leading to the current score or null in case there is no problem.
      int getScore()
      Gets the overall score of the password.
      Collection<String> getSuggestions()
      Gets some arbitrary suggestions on how to improve the password further or null in case there are no suggestions.
    • Method Detail

      • getScore

        int getScore()
        Gets the overall score of the password. This is a simple number for the strength of the password. This decides whether the OMM will accept the password.
        Returns:
        The overall score of the password determining whether the OMM will accept the password.
      • getGuesses

        double getGuesses()
        Gets the amount of average guesses the password or 0 if the amount is unknown.
        Returns:
        The amount of average guesses the password or 0 if the amount is unknown.
      • getProblem

        String getProblem()
        Gets the problem of the password leading to the current score or null in case there is no problem.
        Returns:
        The problem of the password leading to the current score or null.
      • getSuggestions

        Collection<String> getSuggestions()
        Gets some arbitrary suggestions on how to improve the password further or null in case there are no suggestions.
        Returns:
        Some arbitrary suggestions on how to improve the password further or null.