com.ca.jcs
Interface ConnectorManager

All Known Implementing Classes:
DefaultConnectorManager

public interface ConnectorManager

Manager for ConnectorTypes (aka Endpoint Types) and Connectors which handles their entire life-cycle and processing needs.


Method Summary
 Connector activateConnector(String connTypeName, String connNamingAttr, String connName)
          Called to activate connector by all other operations.
 Connector activateConnector(String connTypeName, String connNamingAttr, String connName, LdapDN name, Attributes attrs)
          Called by add() of new connector.
 ConnectorType activateConnectorType(Name connTypeDn, String connTypeName, Attributes attrs)
           
 void deactivateConnector(String connTypeName, String connName)
           
 void deactivateConnectorType(String connTypeName)
           
 Connector findConnector(String connTypeName, String connName)
           
 ConnectorType findConnectorType(String connTypeName)
          Find type, return null if doesn't exist.
 String getConnectorClientCertStore()
           
 String getConnectorClientCertStorePassword()
           
 String getConnectorClientCertStoreType()
           
 ConnectorFactory getConnectorFactory()
           
 ConnectorPersister getConnectorPersister()
           
 boolean getConnectorSSLSimple()
           
 boolean getConnectorSSLTrace()
           
 boolean getConnectorSSLVerifyPeer()
           
 CryptoService getCryptoService()
           
 char[] getDecryptedValue(String cipherText)
           
 DNDetails getDNDetails(LdapDN baseName, String dnConnectorTypeKeyAttribute, Name dnManagedSuffixName)
          Cheaply classifies Distinguished Names (DNs) into groups to aid processing.
 HttpProxyConfiguration getHttpProxyConfiguration()
           
 String getLdapsCertificateFile()
           
 String getLdapsCertificatePassword()
           
 void init(DirectoryServiceConfiguration dsCfg)
          Link with ApacheDS itself, from which important information needs to be copied over.
 void refreshConnectors(String connTypeName)
           
 void setConnectorFactory(ConnectorFactory connFact)
           
 void setCryptoService(CryptoService cryptoService)
           
 void setHttpProxyConfiguration(HttpProxyConfiguration httpProxyConfiguration)
           
 

Method Detail

getConnectorFactory

ConnectorFactory getConnectorFactory()

setConnectorFactory

void setConnectorFactory(ConnectorFactory connFact)

getConnectorPersister

ConnectorPersister getConnectorPersister()

getHttpProxyConfiguration

HttpProxyConfiguration getHttpProxyConfiguration()

setHttpProxyConfiguration

void setHttpProxyConfiguration(HttpProxyConfiguration httpProxyConfiguration)

getLdapsCertificateFile

String getLdapsCertificateFile()

getLdapsCertificatePassword

String getLdapsCertificatePassword()

getConnectorClientCertStore

String getConnectorClientCertStore()

getConnectorClientCertStoreType

String getConnectorClientCertStoreType()

getConnectorClientCertStorePassword

String getConnectorClientCertStorePassword()

getConnectorSSLSimple

boolean getConnectorSSLSimple()

getConnectorSSLVerifyPeer

boolean getConnectorSSLVerifyPeer()

getConnectorSSLTrace

boolean getConnectorSSLTrace()

getDecryptedValue

char[] getDecryptedValue(String cipherText)

getCryptoService

CryptoService getCryptoService()

setCryptoService

void setCryptoService(CryptoService cryptoService)

init

void init(DirectoryServiceConfiguration dsCfg)
Link with ApacheDS itself, from which important information needs to be copied over.


activateConnectorType

ConnectorType activateConnectorType(Name connTypeDn,
                                    String connTypeName,
                                    Attributes attrs)
                                    throws NamingException
Throws:
NamingException

findConnectorType

ConnectorType findConnectorType(String connTypeName)
Find type, return null if doesn't exist.


deactivateConnectorType

void deactivateConnectorType(String connTypeName)
                             throws NamingException
Throws:
NamingException

activateConnector

Connector activateConnector(String connTypeName,
                            String connNamingAttr,
                            String connName,
                            LdapDN name,
                            Attributes attrs)
                            throws NamingException
Called by add() of new connector.

Throws:
NamingException

activateConnector

Connector activateConnector(String connTypeName,
                            String connNamingAttr,
                            String connName)
                            throws NamingException
Called to activate connector by all other operations.

Throws:
NamingException

findConnector

Connector findConnector(String connTypeName,
                        String connName)

deactivateConnector

void deactivateConnector(String connTypeName,
                         String connName)
                         throws NamingException
Throws:
NamingException

refreshConnectors

void refreshConnectors(String connTypeName)
                       throws NamingException
Throws:
NamingException

getDNDetails

DNDetails getDNDetails(LdapDN baseName,
                       String dnConnectorTypeKeyAttribute,
                       Name dnManagedSuffixName)
                       throws NamingException
Cheaply classifies Distinguished Names (DNs) into groups to aid processing.

Throws:
NamingException


Created 2011-07-14 13:27 EST