com.oldlight.weaver.admin
Class Security
java.lang.Object
com.oldlight.weaver.admin.Security
- public class Security
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BUF_SIZE
private static final int BUF_SIZE
- See Also:
- Constant Field Values
SEP
private static final String SEP
- See Also:
- Constant Field Values
Security
public Security()
hash
private static String hash(String password)
checkCredentials
public static boolean checkCredentials(String username,
String password,
String passwordFileName)
throws IOException
- Throws:
IOException
setCredentials
public static void setCredentials(String username,
String password,
String passwordFileName)
throws IOException
- Throws:
IOException