Project

General

Profile

« Previous | Next » 

Revision 4080

Added by daigle about 16 years ago

Merge 1.9 changes into Head

View differences:

AuthLdapTest.java
27 27
import java.io.File;
28 28

  
29 29
import edu.ucsb.nceas.metacat.AuthLdap;
30
import edu.ucsb.nceas.metacat.MetaCatUtil;
30
import edu.ucsb.nceas.metacat.util.MetaCatUtil;
31 31
import edu.ucsb.nceas.utilities.Options;
32 32
import junit.framework.Test;
33 33
import junit.framework.TestCase;
......
92 92
    
93 93
    public void getPrincipals()
94 94
    {
95
    	//System.out.println("before initilizing authldap object");
96
    	AuthLdap ldap = new AuthLdap();
97
    	//System.out.println("after initilizing authldap object");
98 95
    	try
99 96
    	{
97
        	//System.out.println("before initilizing authldap object");
98
        	AuthLdap ldap = new AuthLdap();
99
        	//System.out.println("after initilizing authldap object");
100
    		
100 101
    		//System.out.println("before calling the getPrincipals method");
101 102
    	    String response = ldap.getPrincipals(USER, PASS);
102 103
    	    //System.out.println("after calling the getPrincipals method \n"+response);

Also available in: Unified diff