Squid Web Cache v8/master
Loading...
Searching...
No Matches
Config.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 1996-2025 The Squid Software Foundation and contributors
3 *
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
7 */
8
9#ifndef SQUID_SRC_AUTH_NTLM_CONFIG_H
10#define SQUID_SRC_AUTH_NTLM_CONFIG_H
11
12#if HAVE_AUTH_MODULE_NTLM
13
14#include "auth/Gadgets.h"
15#include "auth/SchemeConfig.h"
16#include "auth/UserRequest.h"
17#include "helper/forward.h"
18
19class HttpRequest;
20class StoreEntry;
21
22namespace Auth
23{
24namespace Ntlm
25{
26
28class Config : public Auth::SchemeConfig
29{
30public:
31 bool active() const override;
32 Auth::UserRequest::Pointer decode(char const *proxy_auth, const HttpRequest *request, const char *requestRealm) override;
33 void done() override;
34 void rotateHelpers() override;
35 void fixHeader(Auth::UserRequest::Pointer, HttpReply *, Http::HdrType, HttpRequest *) override;
36 void init(Auth::SchemeConfig *) override;
37 void registerWithCacheManager(void) override;
38 const char * type() const override;
39};
40
41} // namespace Ntlm
42} // namespace Auth
43
45
46#endif /* HAVE_AUTH_MODULE_NTLM */
47#endif /* SQUID_SRC_AUTH_NTLM_CONFIG_H */
48
class SquidConfig Config
Helper::StatefulClientPointer ntlmauthenticators
Definition Config.cc:36
HTTP Authentication.
Definition Config.h:19