#include <CSingletonLDAPConnection.h>

TSP-enforcing: No
Definition at line 43 of file CSingletonLDAPConnection.h.
Public Member Functions | |
| ~CSingletonLDAPConnection () | |
| void | PushConnection (std::string &host, int port, LDAP *ldap) |
| LDAP * | GetConnection (std::string &host, int port) |
Static Public Member Functions | |
| static CSingletonLDAPConnection * | Instance () |
| static void | CSingletonLDAPConnectionDestructor () |
| CSingletonLDAPConnection::~CSingletonLDAPConnection | ( | ) |
Interface: Subsystem
Defaut destructor for CSingletonLDAPConnection class
Definition at line 241 of file CSingletonLDAPConnection.cpp.
| CSingletonLDAPConnection * CSingletonLDAPConnection::Instance | ( | ) | [static] |
Interface: Subsystem
This function returns an instance of CSingletonLDAPConnection class
Definition at line 225 of file CSingletonLDAPConnection.cpp.
Referenced by GetCertfromLDAPURL(), and GetCRLfromLDAPURL().
| void CSingletonLDAPConnection::PushConnection | ( | std::string & | host, | |
| int | port, | |||
| LDAP * | ldap | |||
| ) |
Interface: Subsystem
This function adds LDAP connection inforlation to the list maintained by CSingletonLDAPConnection class
| host | [in] std::string containing the ldap host name |
| port | [in] Integer identifying the port number |
| ldap | [in] Pointer to LDAP structure |
Definition at line 261 of file CSingletonLDAPConnection.cpp.
References CLDAPConnectionInfo::m_connection, CLDAPConnectionInfo::m_host, and CLDAPConnectionInfo::m_port.
Referenced by GetCertfromLDAPURL(), and GetCRLfromLDAPURL().
| LDAP * CSingletonLDAPConnection::GetConnection | ( | std::string & | host, | |
| int | port | |||
| ) |
Interface: Subsystem
This function returns a pointer to LDAP structure which corresponds to the hostname and port
| host | [in] std::string containing the ldap host name |
| port | [in] Integer identifying the port number |
Definition at line 292 of file CSingletonLDAPConnection.cpp.
Referenced by GetCertfromLDAPURL(), and GetCRLfromLDAPURL().
| void CSingletonLDAPConnection::CSingletonLDAPConnectionDestructor | ( | ) | [static] |
Interface: Subsystem
This function destroys the CSingletonLDAPConnection instance in will be called then PKIF dll is unloaded.
Definition at line 314 of file CSingletonLDAPConnection.cpp.
Referenced by CSingletonLDAPConnectionCleaner::~CSingletonLDAPConnectionCleaner().
1.5.6