mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-05 15:21:43 +00:00
442b1407cf
* master: (375 commits) Update type-conversion-functions.md Update maxmap.md Update maxmap.md Update maxmap.md Update single_fixed_string_groupby.xml Alter remove column properties and TTLs (#14742) better fixed string group by support Fix incorrect key condition of fixed strings. constant output order more tests for #14646 Maybe fix MSan report in base64 Proper exception message for wrong number of arguments of CAST Added a test Fix buffer overflow in "bar" function Update convertMySQLDataType.cpp Fix clang-tidy Remove obsolete code from performance test Slightly better code Even more Even more ... # Conflicts: # src/Interpreters/Context.cpp
40 lines
675 B
C++
40 lines
675 B
C++
#pragma once
|
|
|
|
#include <Access/LDAPParams.h>
|
|
#include <common/types.h>
|
|
|
|
#include <map>
|
|
#include <memory>
|
|
#include <mutex>
|
|
|
|
|
|
namespace Poco
|
|
{
|
|
class Logger;
|
|
|
|
namespace Util
|
|
{
|
|
class AbstractConfiguration;
|
|
}
|
|
}
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
class ExternalAuthenticators
|
|
{
|
|
public:
|
|
void reset();
|
|
void setConfiguration(const Poco::Util::AbstractConfiguration & config, Poco::Logger * log);
|
|
|
|
void setLDAPServerParams(const String & server, const LDAPServerParams & params);
|
|
LDAPServerParams getLDAPServerParams(const String & server) const;
|
|
|
|
private:
|
|
mutable std::recursive_mutex mutex;
|
|
std::map<String, LDAPServerParams> ldap_server_params;
|
|
};
|
|
|
|
}
|