]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/auth/ntlm/Config.h
2 * Copyright (C) 1996-2014 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 #include "auth/Config.h"
13 #include "auth/Gadgets.h"
14 #include "auth/UserRequest.h"
15 #include "helper/forward.h"
25 /** NTLM Authentication configuration data */
26 class Config
: public Auth::Config
30 virtual bool active() const;
31 virtual bool configured() const;
32 virtual Auth::UserRequest::Pointer
decode(char const *proxy_auth
, const char *requestRealm
);
34 virtual void rotateHelpers();
35 virtual bool dump(StoreEntry
*, const char *, Auth::Config
*) const;
36 virtual void fixHeader(Auth::UserRequest::Pointer
, HttpReply
*, http_hdr_type
, HttpRequest
*);
37 virtual void init(Auth::Config
*);
38 virtual void parse(Auth::Config
*, int, char *);
39 virtual void registerWithCacheManager(void);
40 virtual const char * type() const;
49 extern statefulhelper
*ntlmauthenticators
;