All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.albertus82.net.httpserver.config.AuthenticatorDefaultConfig Maven / Gradle / Ivy

Go to download

Java SWT/JFace Utility Library including a Preferences Framework, Lightweight HTTP Server and macOS support.

There is a newer version: 20.1.0
Show newest version
package io.github.albertus82.net.httpserver.config;

import java.util.logging.Level;

public abstract class AuthenticatorDefaultConfig implements IAuthenticatorConfig {

	public static final String PASSWORD_HASH_ALGORITHM = "SHA-256"; // NOSONAR
	public static final int FAIL_DELAY_MILLIS = 3000;
	public static final String FAILURE_LOGGING_LEVEL = Level.FINE.getName();

	@Override
	public String getPasswordHashAlgorithm() {
		return PASSWORD_HASH_ALGORITHM;
	}

	@Override
	public int getFailDelayMillis() {
		return FAIL_DELAY_MILLIS;
	}

	@Override
	public String getFailureLoggingLevel() {
		return FAILURE_LOGGING_LEVEL;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy