Package de.xima.fc.ldap
Class LDAPResultConverter
java.lang.Object
de.xima.fc.ldap.LDAPResultConverter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LDAPBenutzer
convertToBenutzer
(com.unboundid.ldap.sdk.SearchResultEntry entry) Deprecated.User management has been reworked.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
(com.unboundid.ldap.sdk.LDAPConnection con, org.pac4j.core.profile.CommonProfile profile, 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)
-
Constructor Details
-
LDAPResultConverter
public LDAPResultConverter()
-
-
Method Details
-
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) -
fillProfile
public static void fillProfile(com.unboundid.ldap.sdk.LDAPConnection con, org.pac4j.core.profile.CommonProfile profile, 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
-
fillProfile
public static void fillProfile(org.pac4j.core.profile.CommonProfile profile, com.unboundid.ldap.sdk.SearchResultEntry entry) -
convertToBenutzer
@Deprecated public static LDAPBenutzer convertToBenutzer(com.unboundid.ldap.sdk.SearchResultEntry entry) Deprecated.User management has been reworked. Users may have multiple identities to sign in with.
-