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

The UserManager#authenticate() method lacks of documentation

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0-M3
    • Fix Version/s: 1.0.0-M4
    • Component/s: Ftplets
    • Labels:
      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

            • Assignee:
              niklas Niklas Gustavsson
              Reporter:
              andreafrancia Andrea Francia
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: