com.github.ncredinburgh.tomcat.PasswordHolder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of secure-tomcat-datasourcefactory Show documentation
Show all versions of secure-tomcat-datasourcefactory Show documentation
A Tomcat DataSourceFactory that supports an encrypted password
package com.github.ncredinburgh.tomcat;
public class PasswordHolder {
private static String password;
public static void setPassword(String password) {
PasswordHolder.password = password;
}
public static String getPassword() {
return password;
}
}