Uploaded image for project: 'Syncope'
  1. Syncope
  2. SYNCOPE-767

Password Policy: mustn't contain value of the following attributes case insensitive

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.3
    • 1.1.9, 1.2.8, 2.0.0-M2
    • core
    • None

    Description

      Improvement of class org.apache.syncope.core.policy.PasswordPolicyEnforcer

      Instead of

      if (password.contains(word)) {
                      throw new PasswordPolicyException("Used word(s) not permitted");
      }
      

      use

      if (StringUtils.containsIgnoreCase(password, word)) {
      ...
      }
      

      Attachments

        Activity

          People

            ilgrosso Francesco Chicchiriccò
            nbaiocco Nicola Baiocco
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: