| java.lang.Object org.apache.geronimo.console.ldapmanager.LDAPManagerHelper
LDAPManagerHelper | public class LDAPManagerHelper (Code) | | The LDAP manager helper
|
Constructor Summary | |
public | LDAPManagerHelper() | public | LDAPManagerHelper(String host, String port, String baseDN, String securityAuthentication, String userDN, String userPwd) | public | LDAPManagerHelper(String initialContextFactory, String host, String port, String baseDN, String ldapVersion, String securityProtocol, String securityAuthentication, String securityPrincipal, String securityCredentials) |
Method Summary | |
public void | close() | public synchronized String | connect(String initialContextFactory, String host, String port, String baseDN, String ldapVersion, String securityProtocol, String securityAuthentication, String securityPrincipal, String securityCredentials) | public Collection | getAttributes(String name) | public String | getBaseDN() | public Map | getEnvironment() | public Collection | list(String name) | public Collection | listBaseDN() | public String | listJSON(String name) | public String | listJSON(String name, String commonFields) | public Collection | search(String searchDN, String filter, String searchScope) |
LDAPManagerHelper | public LDAPManagerHelper() throws Exception(Code) | | Construct an LDAP manager helper using config data (default)
|
getBaseDN | public String getBaseDN()(Code) | | Return base DN of this directory context
|
getEnvironment | public Map getEnvironment()(Code) | | Return directory context environment
|
listJSON | public String listJSON(String name) throws Exception(Code) | | Enumerates the names bound in the named context and return result as JSON
|
|
|