|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.server.core.integ.IntegrationUtils
org.apache.directory.server.integ.ServerIntegrationUtils
public class ServerIntegrationUtils
Constructor Summary | |
---|---|
ServerIntegrationUtils()
|
Method Summary | |
---|---|
static netscape.ldap.LDAPConnection |
getWiredConnection(LdapService ldapService)
|
static netscape.ldap.LDAPConnection |
getWiredConnection(LdapService ldapService,
java.lang.String principalDn,
java.lang.String password)
|
static javax.naming.ldap.LdapContext |
getWiredContext(LdapService ldapService)
Creates a JNDI LdapContext with a connection over the wire using the SUN LDAP provider. |
static javax.naming.ldap.LdapContext |
getWiredContext(LdapService ldapService,
javax.naming.ldap.Control[] controls)
Creates a JNDI LdapContext with a connection over the wire using the SUN LDAP provider. |
static javax.naming.ldap.LdapContext |
getWiredContext(LdapService ldapService,
java.lang.String principalDn,
java.lang.String password)
Creates a JNDI LdapContext with a connection over the wire using the SUN LDAP provider. |
static javax.naming.ldap.LdapContext |
getWiredContextFollowOnRefferal(LdapService ldapService)
Creates a JNDI LdapContext with a connection over the wire using the SUN LDAP provider. |
static javax.naming.ldap.LdapContext |
getWiredContextRefferalIgnore(LdapService ldapService)
Creates a JNDI LdapContext with a connection over the wire using the SUN LDAP provider. |
static javax.naming.ldap.LdapContext |
getWiredContextThrowOnRefferal(LdapService ldapService)
Creates a JNDI LdapContext with a connection over the wire using the SUN LDAP provider. |
Methods inherited from class org.apache.directory.server.core.integ.IntegrationUtils |
---|
apply, doDelete, getContext, getCoreSession, getRootContext, getSchemaContext, getSystemContext, getUserAddLdif, getUserAddLdif, injectEntries |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServerIntegrationUtils()
Method Detail |
---|
public static javax.naming.ldap.LdapContext getWiredContext(LdapService ldapService) throws java.lang.Exception
ldapService
- the LDAP server to get the connection to
java.lang.Exception
- if there are problems creating the contextpublic static javax.naming.ldap.LdapContext getWiredContext(LdapService ldapService, java.lang.String principalDn, java.lang.String password) throws java.lang.Exception
ldapService
- the LDAP server to get the connection to
java.lang.Exception
- if there are problems creating the contextpublic static javax.naming.ldap.LdapContext getWiredContext(LdapService ldapService, javax.naming.ldap.Control[] controls) throws java.lang.Exception
ldapService
- the LDAP server to get the connection to
java.lang.Exception
- if there are problems creating the contextpublic static javax.naming.ldap.LdapContext getWiredContextThrowOnRefferal(LdapService ldapService) throws java.lang.Exception
ldapService
- the LDAP server to get the connection to
java.lang.Exception
- if there are problems creating the contextpublic static javax.naming.ldap.LdapContext getWiredContextRefferalIgnore(LdapService ldapService) throws java.lang.Exception
ldapService
- the LDAP server to get the connection to
java.lang.Exception
- if there are problems creating the contextpublic static javax.naming.ldap.LdapContext getWiredContextFollowOnRefferal(LdapService ldapService) throws java.lang.Exception
ldapService
- the LDAP server to get the connection to
java.lang.Exception
- if there are problems creating the contextpublic static netscape.ldap.LDAPConnection getWiredConnection(LdapService ldapService) throws java.lang.Exception
java.lang.Exception
public static netscape.ldap.LDAPConnection getWiredConnection(LdapService ldapService, java.lang.String principalDn, java.lang.String password) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |