Project

General

Profile

« Previous | Next » 

Revision 3576

Added by Jing Tao about 17 years ago

Add token to replace usr/password

View differences:

test/edu/ucsb/nceas/metacattest/MetaCatServletTest.java
188 188
   */
189 189
  public void testLterReferralLogin()
190 190
  {
191
    String user="uid=jtao,o=LTER,dc=ecoinformatics,dc=org";
192
    String passwd="qVyGpVeb";
191
    String user="@lter-user@";
192
    String passwd="@lter-pass@";
193 193
    assertTrue(logIn(user,passwd));
194 194
    
195 195
  }
......
210 210
   */
211 211
   public void testPiscoReferralLogin()
212 212
  {
213
    String user="uid=tao,o=PISCO,dc=ecoinformatics,dc=org";
214
    String passwd="purple";
213
    String user="@pisco-user@";;
214
    String passwd="@pisco-pass@";;
215 215
    assertTrue(logIn(user,passwd));
216 216
    //assertTrue( withProtocol.getProtocol().equals("http"));
217 217
  }

Also available in: Unified diff