Package ch.astorm.smtp4j.store
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 Summary
Modifier and TypeMethodDescriptionvoidAdds the givenusernameto the repository.Returns anUserAuthenticatorfor this repository.voidremoveUser(String username) Removes the givenusernamefrom the repository.
-
Method Details
-
addUser
Adds the givenusernameto the repository. -
removeUser
Removes the givenusernamefrom the repository. -
getAuthenticator
UserAuthenticator getAuthenticator()Returns anUserAuthenticatorfor this repository.
-