ldap操做用戶、用戶組---南瓜55555先生

 1.建立鏈接數組 /** * 獲取鏈接 * @param type 操做類型:1.操做用戶2.操做用戶組 * @return */ private static LdapContext getConnection(int type) { LdapContext ctx = null; Hashtable<String, String> env = new Hashtab
相關文章
相關標籤/搜索