Module: CSingletonLDAPConnection
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>
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 |
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 |
Definition at line 28 of file CSingletonLDAPConnection.cpp.
Referenced by PKIFLDAP::AddBlacklistedServer(), PKIFLDAP::ClearServerBlacklist(), PKIFLDAP::GetServerBlacklist(), PKIFLDAP::IsBlacklisted(), and PKIFLDAP::RemoveBlacklistedServer().
std::vector<std::string> g_blacklistedServers |
Definition at line 27 of file CSingletonLDAPConnection.cpp.
Referenced by PKIFLDAP::AddBlacklistedServer(), PKIFLDAP::ClearServerBlacklist(), PKIFLDAP::GetServerBlacklist(), PKIFLDAP::IsBlacklisted(), and PKIFLDAP::RemoveBlacklistedServer().
const int g_maxAutoBlacklistEntries = 100 |
Definition at line 25 of file CSingletonLDAPConnection.cpp.
Referenced by PKIFLDAP::AddBlacklistedServer().
const int g_numSecondsToLive = 300 |
Definition at line 26 of file CSingletonLDAPConnection.cpp.
Referenced by PKIFLDAP::AddBlacklistedServer(), PKIFLDAP::GetServerBlacklist(), and PKIFLDAP::IsBlacklisted().