Uploaded image for project: 'FtpServer'
  1. FtpServer
  2. FTPSERVER-181

The UserManager#authenticate() method lacks of documentation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0-M3
    • 1.0.0-M4
    • Ftplets
    • None

    Description

      The UserManager interface documentation should be a form of contract between the implementor and the user of the interface.
      After reading the documentation the implementor still has these question:

      • when I should throw a AuthenticationFailedException?
      • when I should return a null as a result?
      • if the object receive two subsequent calls withe the same arguments the objects returned should be the same (same reference), only equals, or they can be different?

      Attachments

        Activity

          People

            niklas Niklas Therning
            andreafrancia Andrea Francia
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: