public class LDAPDataUtil extends Object
| Constructor and Description |
|---|
LDAPDataUtil() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
getObjectID(com.unboundid.ldap.sdk.SearchResultEntry entry) |
static String |
getObjectIDAsString(com.unboundid.ldap.sdk.SearchResultEntry entry) |
static com.unboundid.ldap.sdk.Attribute |
getObjectIDAttribute(com.unboundid.ldap.sdk.SearchResultEntry entry) |
static com.unboundid.ldap.sdk.Filter |
getObjectIDFilter(byte[] objectID) |
static int |
getTotalCount(com.unboundid.ldap.sdk.LDAPConnection con,
String baseDN,
com.unboundid.ldap.sdk.SearchScope scope,
Integer pageSize,
com.unboundid.ldap.sdk.Filter filter,
String... attributes) |
static int |
getTotalCount(com.unboundid.ldap.sdk.LDAPConnection con,
String baseDN,
com.unboundid.ldap.sdk.SearchScope scope,
Integer pageSize,
String filter,
String... attributes) |
static org.json.JSONArray |
searchJSON(com.unboundid.ldap.sdk.LDAPConnection con,
String baseDN,
com.unboundid.ldap.sdk.SearchScope scope,
Integer pageSize,
com.unboundid.ldap.sdk.Filter filter,
String... attributes) |
static org.json.JSONArray |
searchJSON(com.unboundid.ldap.sdk.LDAPConnection con,
String baseDN,
com.unboundid.ldap.sdk.SearchScope scope,
Integer pageSize,
String filter,
String... attributes) |
static List<LDAPBenutzer> |
searchLDAPBenutzer(com.unboundid.ldap.sdk.LDAPConnection con,
String baseDN,
com.unboundid.ldap.sdk.SearchScope scope,
Integer pageSize,
com.unboundid.ldap.sdk.Filter filter,
String... attributes) |
static List<LDAPBenutzer> |
searchLDAPBenutzer(com.unboundid.ldap.sdk.LDAPConnection con,
String baseDN,
com.unboundid.ldap.sdk.SearchScope scope,
Integer pageSize,
String filter,
String... attributes) |
static org.json.JSONObject |
searchSingelJSON(com.unboundid.ldap.sdk.LDAPConnection con,
String baseDN,
com.unboundid.ldap.sdk.SearchScope scope,
com.unboundid.ldap.sdk.Filter filter,
String... attributes) |
static org.json.JSONObject |
searchSingelJSON(com.unboundid.ldap.sdk.LDAPConnection con,
String baseDN,
com.unboundid.ldap.sdk.SearchScope scope,
String filter,
String... attributes) |
public static org.json.JSONArray searchJSON(com.unboundid.ldap.sdk.LDAPConnection con,
String baseDN,
com.unboundid.ldap.sdk.SearchScope scope,
Integer pageSize,
String filter,
String... attributes)
throws com.unboundid.ldap.sdk.LDAPSearchException,
com.unboundid.ldap.sdk.LDAPException,
org.json.JSONException
com.unboundid.ldap.sdk.LDAPSearchExceptioncom.unboundid.ldap.sdk.LDAPExceptionorg.json.JSONExceptionpublic static org.json.JSONArray searchJSON(com.unboundid.ldap.sdk.LDAPConnection con,
String baseDN,
com.unboundid.ldap.sdk.SearchScope scope,
Integer pageSize,
com.unboundid.ldap.sdk.Filter filter,
String... attributes)
throws com.unboundid.ldap.sdk.LDAPSearchException,
com.unboundid.ldap.sdk.LDAPException,
org.json.JSONException
com.unboundid.ldap.sdk.LDAPSearchExceptioncom.unboundid.ldap.sdk.LDAPExceptionorg.json.JSONExceptionpublic static org.json.JSONObject searchSingelJSON(com.unboundid.ldap.sdk.LDAPConnection con,
String baseDN,
com.unboundid.ldap.sdk.SearchScope scope,
String filter,
String... attributes)
throws com.unboundid.ldap.sdk.LDAPSearchException,
com.unboundid.ldap.sdk.LDAPException,
org.json.JSONException
com.unboundid.ldap.sdk.LDAPSearchExceptioncom.unboundid.ldap.sdk.LDAPExceptionorg.json.JSONExceptionpublic static org.json.JSONObject searchSingelJSON(com.unboundid.ldap.sdk.LDAPConnection con,
String baseDN,
com.unboundid.ldap.sdk.SearchScope scope,
com.unboundid.ldap.sdk.Filter filter,
String... attributes)
throws com.unboundid.ldap.sdk.LDAPSearchException,
com.unboundid.ldap.sdk.LDAPException,
org.json.JSONException
com.unboundid.ldap.sdk.LDAPSearchExceptioncom.unboundid.ldap.sdk.LDAPExceptionorg.json.JSONExceptionpublic static List<LDAPBenutzer> searchLDAPBenutzer(com.unboundid.ldap.sdk.LDAPConnection con, String baseDN, com.unboundid.ldap.sdk.SearchScope scope, Integer pageSize, String filter, String... attributes) throws com.unboundid.ldap.sdk.LDAPSearchException, com.unboundid.ldap.sdk.LDAPException
com.unboundid.ldap.sdk.LDAPSearchExceptioncom.unboundid.ldap.sdk.LDAPExceptionpublic static List<LDAPBenutzer> searchLDAPBenutzer(com.unboundid.ldap.sdk.LDAPConnection con, String baseDN, com.unboundid.ldap.sdk.SearchScope scope, Integer pageSize, com.unboundid.ldap.sdk.Filter filter, String... attributes) throws com.unboundid.ldap.sdk.LDAPSearchException, com.unboundid.ldap.sdk.LDAPException
com.unboundid.ldap.sdk.LDAPSearchExceptioncom.unboundid.ldap.sdk.LDAPExceptionpublic static int getTotalCount(com.unboundid.ldap.sdk.LDAPConnection con,
String baseDN,
com.unboundid.ldap.sdk.SearchScope scope,
Integer pageSize,
String filter,
String... attributes)
throws com.unboundid.ldap.sdk.LDAPException
com.unboundid.ldap.sdk.LDAPExceptionpublic static int getTotalCount(com.unboundid.ldap.sdk.LDAPConnection con,
String baseDN,
com.unboundid.ldap.sdk.SearchScope scope,
Integer pageSize,
com.unboundid.ldap.sdk.Filter filter,
String... attributes)
throws com.unboundid.ldap.sdk.LDAPException
com.unboundid.ldap.sdk.LDAPExceptionpublic static com.unboundid.ldap.sdk.Filter getObjectIDFilter(byte[] objectID)
public static String getObjectIDAsString(com.unboundid.ldap.sdk.SearchResultEntry entry)
public static com.unboundid.ldap.sdk.Attribute getObjectIDAttribute(com.unboundid.ldap.sdk.SearchResultEntry entry)
public static byte[] getObjectID(com.unboundid.ldap.sdk.SearchResultEntry entry)
Copyright © 2016. All rights reserved.