Package test

Source Code of test.TestLDAP

package test;

import easyJ.system.service.LDAPService;
import easyJ.system.data.SysUser;

public class TestLDAP {
    public TestLDAP() {}

    public static void main(String[] args) {
        try {
            SysUser user = LDAPService.getUserFromLDAP("liufeng06");
            System.out.println(user.getUserName() + "  " + user.getPassword());

        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
TOP

Related Classes of test.TestLDAP

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.