Package de.xima.fc.ldap
Class LDAPResultConverter
- java.lang.Object
-
- de.xima.fc.ldap.LDAPResultConverter
-
public class LDAPResultConverter extends Object
-
-
Constructor Summary
Constructors Constructor Description LDAPResultConverter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LDAPBenutzer
convertToBenutzer(com.unboundid.ldap.sdk.SearchResultEntry entry)
static com.alibaba.fastjson.JSONArray
convertToJSON(com.unboundid.ldap.sdk.LDAPConnection con, com.unboundid.ldap.sdk.SearchResult result)
static com.alibaba.fastjson.JSONObject
convertToJSON(com.unboundid.ldap.sdk.LDAPConnection con, com.unboundid.ldap.sdk.SearchResultEntry entry)
static void
fillProfile(org.pac4j.core.profile.CommonProfile profile, com.unboundid.ldap.sdk.SearchResultEntry entry)
static Class<?>
getJavaType(com.unboundid.ldap.sdk.schema.Schema schema, com.unboundid.ldap.sdk.Attribute att)
-
-
-
Method Detail
-
convertToJSON
public static com.alibaba.fastjson.JSONArray convertToJSON(com.unboundid.ldap.sdk.LDAPConnection con, com.unboundid.ldap.sdk.SearchResult result) throws com.alibaba.fastjson.JSONException, com.unboundid.ldap.sdk.LDAPException
- Throws:
com.alibaba.fastjson.JSONException
com.unboundid.ldap.sdk.LDAPException
-
convertToJSON
public static com.alibaba.fastjson.JSONObject convertToJSON(com.unboundid.ldap.sdk.LDAPConnection con, com.unboundid.ldap.sdk.SearchResultEntry entry) throws com.alibaba.fastjson.JSONException, com.unboundid.ldap.sdk.LDAPException
- Throws:
com.alibaba.fastjson.JSONException
com.unboundid.ldap.sdk.LDAPException
-
getJavaType
public static Class<?> getJavaType(com.unboundid.ldap.sdk.schema.Schema schema, com.unboundid.ldap.sdk.Attribute att)
-
convertToBenutzer
public static LDAPBenutzer convertToBenutzer(com.unboundid.ldap.sdk.SearchResultEntry entry)
-
fillProfile
public static void fillProfile(org.pac4j.core.profile.CommonProfile profile, com.unboundid.ldap.sdk.SearchResultEntry entry)
-
-