]>
Commit | Line | Data |
---|---|---|
bbc27441 AJ |
1 | /* |
2 | * Copyright (C) 1996-2014 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 | ||
6bf4f823 | 9 | #ifndef __AUTH_NEGOTIATE_H__ |
10 | #define __AUTH_NEGOTIATE_H__ | |
928f3421 AJ |
11 | |
12 | #include "auth/Config.h" | |
3ad63615 | 13 | #include "auth/Gadgets.h" |
2d2b0bb7 | 14 | #include "auth/UserRequest.h" |
24438ec5 | 15 | #include "helper/forward.h" |
63be0a78 | 16 | |
bb8909c3 A |
17 | namespace Auth |
18 | { | |
19 | namespace Negotiate | |
20 | { | |
6bf4f823 | 21 | |
372fccd6 AJ |
22 | /** Negotiate Authentication configuration data */ |
23 | class Config : public Auth::Config | |
6bf4f823 | 24 | { |
6bf4f823 | 25 | public: |
372fccd6 | 26 | Config(); |
6bf4f823 | 27 | virtual bool active() const; |
28 | virtual bool configured() const; | |
d4806c91 | 29 | virtual Auth::UserRequest::Pointer decode(char const *proxy_auth, const char *requestRealm); |
6bf4f823 | 30 | virtual void done(); |
0bcb6908 | 31 | virtual void rotateHelpers(); |
3616c90c | 32 | virtual bool dump(StoreEntry *, const char *, Auth::Config *) const; |
c7baff40 | 33 | virtual void fixHeader(Auth::UserRequest::Pointer, HttpReply *, http_hdr_type, HttpRequest *); |
9f3d2b2e AJ |
34 | virtual void init(Auth::Config *); |
35 | virtual void parse(Auth::Config *, int, char *); | |
15fab853 | 36 | virtual void registerWithCacheManager(void); |
6bf4f823 | 37 | virtual const char * type() const; |
372fccd6 AJ |
38 | |
39 | public: | |
6bf4f823 | 40 | int keep_alive; |
6bf4f823 | 41 | }; |
42 | ||
372fccd6 AJ |
43 | } // namespace Negotiate |
44 | } // namespace Auth | |
6bf4f823 | 45 | |
aa110616 AJ |
46 | extern statefulhelper *negotiateauthenticators; |
47 | ||
6bf4f823 | 48 | #endif |
f53969cc | 49 |