43 if (scheme->configured())
47 debugs(29, 9, rv <<
" active.");
57 debugs(29, 9, rv <<
" active.");
65 for (
auto *scheme : *config)
66 scheme->registerWithCacheManager();
76 for (
auto *scheme : *config) {
77 if (scheme->configured())
88 if (scheme->configured())
89 scheme->rotateHelpers();
96 debugs(29, 2,
"Reset authentication State.");
107std::vector<Auth::User::Pointer>
111 return lhs->userKey() < rhs->userKey();
113 std::vector<Auth::User::Pointer> v1, v2, rv, u1, u2;
114#if HAVE_AUTH_MODULE_BASIC
118#if HAVE_AUTH_MODULE_DIGEST
122 if (u1.size() > 0 || u2.size() > 0) {
123 v1.reserve(u1.size()+u2.size());
124 std::merge(u1.begin(), u1.end(),u2.begin(), u2.end(),
125 std::back_inserter(v1), aucp_compare);
129#if HAVE_AUTH_MODULE_NEGOTIATE
133#if HAVE_AUTH_MODULE_NTLM
137 if (u1.size() > 0 || u2.size() > 0) {
138 v2.reserve(u1.size()+u2.size());
139 std::merge(u1.begin(), u1.end(),u2.begin(), u2.end(),
140 std::back_inserter(v2), aucp_compare);
142 rv.reserve(v1.size()+v2.size());
143 std::merge(v1.begin(), v1.end(),v2.begin(), v2.end(),
144 std::back_inserter(rv), aucp_compare);
std::vector< Auth::User::Pointer > authenticateCachedUsersList()
void authenticateInit(Auth::ConfigVector *config)
static void authenticateRegisterWithCacheManager(Auth::ConfigVector *config)
void authenticateReset(void)
int authenticateActiveSchemeCount(void)
int authenticateSchemeCount(void)
void authenticateRotate(void)
Auth::ConfigVector schemes
set of auth_params directives
static SchemeConfig * Find(const char *proxy_auth)
static std::vector< Scheme::Pointer > & GetSchemes()
#define debugs(SECTION, LEVEL, CONTENT)
std::vector< Auth::SchemeConfig * > ConfigVector