public class LDAPResultConverter extends Object
Constructor and Description |
---|
LDAPResultConverter() |
Modifier and Type | Method and 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) |
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
com.alibaba.fastjson.JSONException
com.unboundid.ldap.sdk.LDAPException
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
com.alibaba.fastjson.JSONException
com.unboundid.ldap.sdk.LDAPException
public static Class<?> getJavaType(com.unboundid.ldap.sdk.schema.Schema schema, com.unboundid.ldap.sdk.Attribute att)
public static LDAPBenutzer convertToBenutzer(com.unboundid.ldap.sdk.SearchResultEntry entry)
public static void fillProfile(org.pac4j.core.profile.CommonProfile profile, com.unboundid.ldap.sdk.SearchResultEntry entry)
profile
- entry
- Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.