Interface MozillaAutoconfMailserverService

  • All Superinterfaces:
    MailserverService
    All Known Implementing Classes:
    MozillaAutoconfMailserverServiceImpl

    public interface MozillaAutoconfMailserverService
    extends MailserverService
    Representation of a mailserver configuration according to Mozilla Autoconf standard. Here the mail server configurations are published in XML format on web servers.

    See here for more information.

    In almost all input fields the following placeholders can occur and must be replaced by the user:

    • %EMAILADDRESS% (full email address of the user)
    • %EMAILLOCALPART% (local part of the email address)
    • %EMAILDOMAIN%
    Author:
    Adrian Lange
    • Method Detail

      • getUsername

        String getUsername()
        Returns the username to use or null if not specified.

        May contain placeholders, see MozillaAutoconfMailserverService for more information.

        Returns:
        Username, placeholder for username or null
      • getPassword

        String getPassword()
        Returns the password of the user or null if none is specified.

        May contain placeholders, see MozillaAutoconfMailserverService for more information.

        Returns:
        Password, placeholder for password or null
      • getAuthentications

        Set<Authentication> getAuthentications()
        Returns the authentication methods to use. In most cases this set only contains one (or zero) elements, but can also contain more entries to provide a fallback if for example OAuth2 is not supported by a client.
        Returns:
        Authentication method or an empty set if none is specified.