public static String HA1(String username, String realm, String password){
        String algorithm = RestcommConfiguration.getInstance().getMain().getClientAlgorithm();
        String ha1 = "";
        ha1 = DigestAuthentication.H(username+":"+realm+":"+password, algorithm);
        return ha1;
    }
public static String HA1 ( String username , String realm , String password ) { String algorithm = RestcommConfiguration . getInstance ( ) . getMain ( ) . getClientAlgorithm ( ) ; String ha1 = "" ; ha1 = DigestAuthentication . H ( username + ":" + realm + ":" + password , algorithm ) ; return ha1 ; }
@param username
@param realm
@param password
@return