Interface UserRepository

All Known Implementing Classes:
SimpleUserRepository

public interface UserRepository
Represents a user's repository. Users are not linked to mailboxes. They are essentially determining who can send messages to the SMTP server.
  • Method Details

    • addUser

      void addUser(String username, String password)
      Adds the given username to the repository.
    • removeUser

      void removeUser(String username)
      Removes the given username from the repository.
    • getAuthenticator

      UserAuthenticator getAuthenticator()
      Returns an UserAuthenticator for this repository.