Config.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2023 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 
19 class HttpRequest;
20 class StoreEntry;
21 
22 namespace Auth
23 {
24 namespace Ntlm
25 {
26 
28 class Config : public Auth::SchemeConfig
29 {
30 public:
31  bool active() const override;
32  bool configured() const override;
33  Auth::UserRequest::Pointer decode(char const *proxy_auth, const HttpRequest *request, const char *requestRealm) override;
34  void done() override;
35  void rotateHelpers() override;
36  void fixHeader(Auth::UserRequest::Pointer, HttpReply *, Http::HdrType, HttpRequest *) override;
37  void init(Auth::SchemeConfig *) override;
38  void registerWithCacheManager(void) override;
39  const char * type() const override;
40 };
41 
42 } // namespace Ntlm
43 } // namespace Auth
44 
46 
47 #endif /* HAVE_AUTH_MODULE_NTLM */
48 #endif /* SQUID_SRC_AUTH_NTLM_CONFIG_H */
49 
HTTP Authentication.
Definition: Config.h:18
Helper::StatefulClientPointer ntlmauthenticators
Definition: Config.cc:36
class SquidConfig Config
Definition: SquidConfig.cc:12

 

Introduction

Documentation

Support

Miscellaneous