Project

General

Profile

« Previous | Next » 

Revision 3780

Added by daigle over 16 years ago

Changes to remove ANT tokens for the turnkey install project

View differences:

AccessControlTest.java
34 34
import java.util.TimeZone;
35 35
import java.util.Vector;
36 36

  
37
import edu.ucsb.nceas.metacat.MetaCatUtil;
37 38
import edu.ucsb.nceas.metacat.client.InsufficientKarmaException;
38 39
import edu.ucsb.nceas.metacat.client.Metacat;
39 40
import edu.ucsb.nceas.metacat.client.MetacatAuthException;
......
52 53
public class AccessControlTest
53 54
    extends TestCase {
54 55

  
55
    private String metacatUrl = "@systemidserver@@servlet-path@";
56
    private String username = "@mcuser@";
57
    private String password = "@mcpassword@";
58
    private String anotheruser = "@mcanotheruser@";
59
    private String anotherpassword = "@mcanotherpassword@";
56
    private String metacatUrl = MetaCatUtil.getOption("metacatUrl");
57
    private String username = MetaCatUtil.getOption("mcuser");
58
    private String password = MetaCatUtil.getOption("mcpassword");
59
    private String anotheruser = MetaCatUtil.getOption("mcanotheruser");
60
    private String anotherpassword = MetaCatUtil.getOption("mcanotherpassword");
60 61
    private String prefix = "test";
61 62
    private String newdocid = null;
62 63
    private String testdocument = "";

Also available in: Unified diff