public AuthenticatorHandler(WebMailServer parent) throws WebMailException {
this.parent=parent;
authenticator_list=parent.getProperty("webmail.authenticators");
if(authenticator_list == null) {
throw new WebMailException("No Authenticators defined (parameter: webmail.authenticators)");
}
parent.getConfigScheme().configRegisterChoiceKey("AUTH","Authentication method to use.");
//parent.getConfigScheme().configRegisterStringKey("AUTHHOST","localhost","Host used for remote authentication (e.g. for IMAP,POP3)");
registerAuthenticators();