org.codehaus.plexus.redback.common.ldap.connection
Interface LdapConnectionFactory

All Known Implementing Classes:
ConfigurableLdapConnectionFactory

public interface LdapConnectionFactory

Version:
$Id: LdapConnectionFactory.java,v 1.3 2006/02/06 15:15:54 trygvis Exp $
Author:
Trygve Laugstøl

Field Summary
static java.lang.String ROLE
           
 
Method Summary
 void addObjectFactory(java.lang.Class<? extends javax.naming.spi.ObjectFactory> objectFactoryClass)
           
 void addStateFactory(java.lang.Class<? extends javax.naming.spi.StateFactory> objectFactoryClass)
           
 javax.naming.ldap.LdapName getBaseDnLdapName()
           
 LdapConnection getConnection()
           
 LdapConnection getConnection(javax.naming.ldap.Rdn subRdn)
           
 LdapConnection getConnection(java.lang.String bindDn, java.lang.String password)
           
 

Field Detail

ROLE

static final java.lang.String ROLE
Method Detail

getConnection

LdapConnection getConnection()
                             throws LdapException
Throws:
LdapException

getConnection

LdapConnection getConnection(javax.naming.ldap.Rdn subRdn)
                             throws LdapException
Throws:
LdapException

getConnection

LdapConnection getConnection(java.lang.String bindDn,
                             java.lang.String password)
                             throws LdapException
Throws:
LdapException

getBaseDnLdapName

javax.naming.ldap.LdapName getBaseDnLdapName()
                                             throws LdapException
Throws:
LdapException

addObjectFactory

void addObjectFactory(java.lang.Class<? extends javax.naming.spi.ObjectFactory> objectFactoryClass)

addStateFactory

void addStateFactory(java.lang.Class<? extends javax.naming.spi.StateFactory> objectFactoryClass)


Copyright © 2006-2008 Codehaus. All Rights Reserved.