public Logger makeLogger(String logDirectory) {
return logDirectory != null ? new Logger(logDirectory) : null;
}
public Authenticator makeAuthenticator(String authenticationParameter) throws IOException {
Authenticator authenticator = new PromiscuousAuthenticator();
if (authenticationParameter != null) {
if (new File(authenticationParameter).exists())
authenticator = new MultiUserAuthenticator(authenticationParameter);
else {
String[] values = authenticationParameter.split(":");