Package de.adrianlange.mcd.model
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<Authentication>getAuthentications()Returns the authentication methods to use.Set<OAuth2>getOAuth2s()Returns OAuth2 configuration to use ifgetAuthentications()returnsAuthentication.OAUTH2.StringgetPassword()Returns the password of the user or null if none is specified.StringgetUsername()Returns the username to use or null if not specified.-
Methods inherited from interface de.adrianlange.mcd.model.MailserverService
getConfigurationMethod, getHost, getPort, getProtocol, getSocketType
-
-
-
-
Method Detail
-
getUsername
String getUsername()
Returns the username to use or null if not specified.May contain placeholders, see
MozillaAutoconfMailserverServicefor 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
MozillaAutoconfMailserverServicefor 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.
-
getOAuth2s
Set<OAuth2> getOAuth2s()
Returns OAuth2 configuration to use ifgetAuthentications()returnsAuthentication.OAUTH2.- Returns:
- OAuth2 configurations or an empty set of none is specified.
-
-