Weaver 3.1.0a1-D1

com.oldlight.weaver.admin
Class Security

java.lang.Object
  extended bycom.oldlight.weaver.admin.Security

public class Security
extends Object


Field Summary
private static int BUF_SIZE
           
private static String SEP
           
 
Constructor Summary
Security()
           
 
Method Summary
static boolean checkCredentials(String username, String password, String passwordFileName)
           
private static String hash(String password)
           
static void setCredentials(String username, String password, String passwordFileName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BUF_SIZE

private static final int BUF_SIZE
See Also:
Constant Field Values

SEP

private static final String SEP
See Also:
Constant Field Values
Constructor Detail

Security

public Security()
Method Detail

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

Copyright ©Paul Harvey