Modifier and Type | Method and Description |
---|---|
static org.forgerock.opendj.ldap.Connection |
newAnonymousConnection()
Returns a new connection for an anonymous user.
|
static org.forgerock.opendj.ldap.ConnectionFactory |
newAnonymousConnectionFactory()
Returns a new anonymous connection factory.
|
static org.forgerock.opendj.ldap.ConnectionFactory |
newConnectionFactory(InternalClientConnection icc)
Returns a new connection factory.
|
static org.forgerock.opendj.ldap.ConnectionFactory |
newConnectionFactoryForUser(org.forgerock.opendj.ldap.DN userDN)
Returns a new connection factory for a specified user.
|
static org.forgerock.opendj.ldap.Connection |
newConnectionForUser(org.forgerock.opendj.ldap.DN dn)
Returns a new connection for a specified user.
|
static org.forgerock.opendj.ldap.Connection |
newRootConnection()
Returns a new root connection.
|
static org.forgerock.opendj.ldap.ConnectionFactory |
newRootConnectionFactory()
Returns a new root connection factory.
|
public static org.forgerock.opendj.ldap.ConnectionFactory newRootConnectionFactory()
public static org.forgerock.opendj.ldap.ConnectionFactory newAnonymousConnectionFactory()
public static org.forgerock.opendj.ldap.ConnectionFactory newConnectionFactoryForUser(org.forgerock.opendj.ldap.DN userDN)
userDN
- The specified user's DN.public static org.forgerock.opendj.ldap.ConnectionFactory newConnectionFactory(InternalClientConnection icc)
icc
- The internal client connection from server side.public static org.forgerock.opendj.ldap.Connection newRootConnection()
public static org.forgerock.opendj.ldap.Connection newAnonymousConnection()
public static org.forgerock.opendj.ldap.Connection newConnectionForUser(org.forgerock.opendj.ldap.DN dn) throws org.forgerock.opendj.ldap.LdapException
dn
- The DN of the user.org.forgerock.opendj.ldap.LdapException
- If no such object.Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.