42Auth::Ntlm::Config::rotateHelpers()
54Auth::Ntlm::Config::done()
69 if (authenticateProgram)
76Auth::Ntlm::Config::type()
const
78 return Auth::Ntlm::Scheme::GetInstance()->type();
86 if (authenticateProgram) {
109Auth::Ntlm::Config::registerWithCacheManager(
void)
112 "NTLM User Authenticator Stats",
117Auth::Ntlm::Config::active()
const
127 if (!authenticateProgram)
135 if (auth_user_request ==
nullptr) {
136 debugs(29, 9,
"Sending type:" << hdrType <<
" header: 'NTLM'");
144 Auth::Ntlm::UserRequest *ntlm_request =
dynamic_cast<Auth::Ntlm::UserRequest *
>(auth_user_request.
getRaw());
145 assert(ntlm_request !=
nullptr);
147 switch (ntlm_request->user()->credentials()) {
164 debugs(29, 9,
"Sending type:" << hdrType <<
" header: 'NTLM'");
170 debugs(29, 9,
"Sending type:" << hdrType <<
" header: 'NTLM " << ntlm_request->server_blob <<
"'");
176 debugs(29,
DBG_CRITICAL,
"NTLM Auth fixHeader: state " << ntlm_request->user()->credentials() <<
".");
177 fatal(
"unexpected state in AuthenticateNTLMFixErrorHeader.\n");
194Auth::Ntlm::Config::decode(
char const *proxy_auth,
const HttpRequest *,
const char *aRequestRealm)
200 auth_user_request->
user(newUser);
203 auth_user_request->
user()->BuildUserKey(proxy_auth, aRequestRealm);
206 debugs(29, 9,
"decode: NTLM authentication");
207 return auth_user_request;
void AUTHSSTATS(StoreEntry *)
static hash_table * proxy_auth_cache
static AUTHSSTATS authenticateNTLMStats
Helper::StatefulClientPointer ntlmauthenticators
static int authntlm_initialised
static SchemeConfig * Find(const char *proxy_auth)
virtual User::Pointer user()
ChildConfig & updateLimits(const ChildConfig &rhs)
void packStatsInto(Packable *p, const char *label=nullptr) const
Dump some stats about the helper state to a Packable object.
ChildConfig childs
Configuration settings for number running.
static Pointer Make(const char *name)
void openSessions() override
#define debugs(SECTION, LEVEL, CONTENT)
void fatal(const char *message)
hash_table * hash_create(HASHCMP *, int, HASHHASH *)
int HASHCMP(const void *, const void *)
void helperStatefulShutdown(const statefulhelper::Pointer &hlp)
void RegisterAction(char const *action, char const *desc, OBJH *handler, Protected, Atomic, Format)
void wordlistDestroy(wordlist **list)
destroy a wordlist