public class

LDAPJNDIUtils

extends Object
java.lang.Object
   ↳ org.mule.module.ldap.api.jndi.LDAPJNDIUtils

Summary

Public Constructors
LDAPJNDIUtils()
Public Methods
static LDAPEntry buildEntry(String entryDN, Attributes attributes)
@return
static Control[] buildRequestControls(LDAPSearchControls controls, byte[] cookie)
@return
static SearchControls buildSearchControls(LDAPSearchControls controls)
static boolean containsDnValue(String dn, List<Object> values)
Whether the list of values contains a given DN.
Protected Methods
static LDAPEntryAttribute buildAttribute(Attribute attribute)
@return
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public LDAPJNDIUtils ()

Public Methods

public static LDAPEntry buildEntry (String entryDN, Attributes attributes)

@return

Parameters
entryDN
attributes
Throws
LDAPException

public static Control[] buildRequestControls (LDAPSearchControls controls, byte[] cookie)

@return

Parameters
controls
cookie
Throws
LDAPException

public static SearchControls buildSearchControls (LDAPSearchControls controls)

Parameters
controls

public static boolean containsDnValue (String dn, List<Object> values)

Whether the list of values contains a given DN. You can use this method to evaluate if a multi value attribute that holds DNs contains a given DN.

Parameters
dn
values

Protected Methods

protected static LDAPEntryAttribute buildAttribute (Attribute attribute)

@return

Parameters
attribute
Throws
LDAPException