tech.kronicle.utils.BasicAuthUtils Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kronicle-utils Show documentation
Show all versions of kronicle-utils Show documentation
Kronicle utils library that contains utility classes for use by Kronicle and its plugins
package tech.kronicle.utils;
import java.util.Base64;
public final class BasicAuthUtils {
public static String basicAuth(String username, String password) {
return "Basic " + Base64.getEncoder().encodeToString((username + ":" + password).getBytes());
}
private BasicAuthUtils() {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy