Class LDAPResultConverter

java.lang.Object
de.xima.fc.ldap.LDAPResultConverter

public class LDAPResultConverter extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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.