]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/auth/ntlm/Config.h
2 * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
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.
9 #ifndef __AUTH_NTLM_H__
10 #define __AUTH_NTLM_H__
12 #if HAVE_AUTH_MODULE_NTLM
14 #include "auth/Gadgets.h"
15 #include "auth/SchemeConfig.h"
16 #include "auth/UserRequest.h"
17 #include "helper/forward.h"
27 /** NTLM Authentication configuration data */
28 class Config
: public Auth::SchemeConfig
31 virtual bool active() const;
32 virtual bool configured() const;
33 virtual Auth::UserRequest::Pointer
decode(char const *proxy_auth
, const char *requestRealm
);
35 virtual void rotateHelpers();
36 virtual void fixHeader(Auth::UserRequest::Pointer
, HttpReply
*, Http::HdrType
, HttpRequest
*);
37 virtual void init(Auth::SchemeConfig
*);
38 virtual void registerWithCacheManager(void);
39 virtual const char * type() const;
45 extern statefulhelper
*ntlmauthenticators
;
47 #endif /* HAVE_AUTH_MODULE_NTLM */