CSingletonLDAPConnection.cpp File Reference


Detailed Description

Subsystem: Miscellaneous/Utility (PKIFUTILS)

Module: CSingletonLDAPConnection

Id
CSingletonLDAPConnection.cpp 11149 2010-01-21 16:40:51Z agalustyan

Definition in file CSingletonLDAPConnection.cpp.

#include "CSingletonLDAPConnection.h"
#include "HttpServerBlacklist.h"
#include "LDAP_URL_Header.h"
#include "CLDAPConnectionInfo.h"
#include "PKIFTime.h"
#include "Duration.h"
#include <cctype>
#include <vector>
#include <string>
#include <map>

Include dependency graph for CSingletonLDAPConnection.cpp:

Go to the source code of this file.

Classes

class  CSingletonLDAPConnectionCleaner

Functions

void CAC_API PKIFLDAP::AddBlacklistedServer (std::string &server, bool bPermanent=true)
void CAC_API PKIFLDAP::RemoveBlacklistedServer (std::string &server)
bool CAC_API PKIFLDAP::IsBlacklisted (std::string &server)
void CAC_API PKIFLDAP::ClearServerBlacklist (void)
void CAC_API PKIFLDAP::GetServerBlacklist (std::vector< std::string > &bl)

Variables

const int g_maxAutoBlacklistEntries = 100
const int g_numSecondsToLive = 300
std::vector< std::string > g_blacklistedServers
std::map< std::string,
CPKIFTimePtr > 
g_autoBlacklistedServers
class
CSingletonLDAPConnectionCleaner 
CSingletonLDAPConnectionCleanerInstance


Variable Documentation

Helper class to destroy CSingletonLDAPConnection instance. It makes sure the CSingletonLDAPConnectionDestructor() function gets called when something that uses PKIF unloads it and/or exits

This class is not used directly by applications.

TSP-enforcing: No

std::map<std::string, CPKIFTimePtr> g_autoBlacklistedServers

std::vector<std::string> g_blacklistedServers

const int g_maxAutoBlacklistEntries = 100

Definition at line 25 of file CSingletonLDAPConnection.cpp.

Referenced by PKIFLDAP::AddBlacklistedServer().

const int g_numSecondsToLive = 300


Generated on Mon Nov 15 11:16:43 2010 for PublicKeyInfrastructureFramework(PKIF) by  doxygen 1.5.6