public class LDAPDataUtil extends Object
Constructor and Description |
---|
LDAPDataUtil() |
Modifier and Type | Method and Description |
---|---|
static List<String> |
getDNResultList(com.unboundid.ldap.sdk.SearchResult res) |
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 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 com.unboundid.ldap.sdk.Attribute |
getUserLoginAttribute(com.unboundid.ldap.sdk.SearchResultEntry entry) |
static com.alibaba.fastjson.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 com.alibaba.fastjson.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 List<String> |
searchLDAPGroups(LDAPGruppe gruppe,
MandantLdapData data) |
static com.alibaba.fastjson.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 com.alibaba.fastjson.JSONObject |
searchSingelJSON(com.unboundid.ldap.sdk.LDAPConnection con,
String baseDN,
com.unboundid.ldap.sdk.SearchScope scope,
String filter,
String... attributes) |
public static com.alibaba.fastjson.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, com.alibaba.fastjson.JSONException
com.unboundid.ldap.sdk.LDAPSearchException
com.unboundid.ldap.sdk.LDAPException
com.alibaba.fastjson.JSONException
public static com.alibaba.fastjson.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, com.alibaba.fastjson.JSONException
com.unboundid.ldap.sdk.LDAPSearchException
com.unboundid.ldap.sdk.LDAPException
com.alibaba.fastjson.JSONException
public static com.alibaba.fastjson.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, com.alibaba.fastjson.JSONException
com.unboundid.ldap.sdk.LDAPSearchException
com.unboundid.ldap.sdk.LDAPException
com.alibaba.fastjson.JSONException
public static com.alibaba.fastjson.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, com.alibaba.fastjson.JSONException
com.unboundid.ldap.sdk.LDAPSearchException
com.unboundid.ldap.sdk.LDAPException
com.alibaba.fastjson.JSONException
public 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.LDAPSearchException
com.unboundid.ldap.sdk.LDAPException
public 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.LDAPSearchException
com.unboundid.ldap.sdk.LDAPException
public static List<String> searchLDAPGroups(LDAPGruppe gruppe, MandantLdapData data) throws com.unboundid.ldap.sdk.LDAPException, GeneralSecurityException
com.unboundid.ldap.sdk.LDAPException
GeneralSecurityException
public static com.unboundid.ldap.sdk.Attribute getUserLoginAttribute(com.unboundid.ldap.sdk.SearchResultEntry entry)
public 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.LDAPException
public 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.LDAPException
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 © 2019 XIMA MEDIA GmbH. All rights reserved.