Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-1825

The delay used in PasswordPolicy should not be implemented as a Thread.sleep(delay)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0.0-M11
    • 2.0.0-RC1
    • ppolicy
    • None

    Description

      When a delay is introduced after a bind failure, we currently do a Thread.sleep() in the server on the session that was trying to bind. This is absolutely wrong, as it may block the whole server after a few attempt from few users (as we use only a limited number of threads).

      We should instead forbid any attempt during the delay (that means even a successful bind should fail), as the idea behind this delay is to forbid an attack where someone submit as many bind as possible, until one is successful.

      Attachments

        Activity

          People

            Unassigned Unassigned
            elecharny Emmanuel Lécharny
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: