]> git.ipfire.org Git - thirdparty/squid.git/blob - src/auth/negotiate/User.cc
SourceFormat Enforcement
[thirdparty/squid.git] / src / auth / negotiate / User.cc
1 /*
2 * Copyright (C) 1996-2015 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 #include "squid.h"
10 #include "auth/Config.h"
11 #include "auth/negotiate/User.h"
12 #include "Debug.h"
13
14 Auth::Negotiate::User::User(Auth::Config *aConfig, const char *aRequestRealm) :
15 Auth::User(aConfig, aRequestRealm)
16 {
17 }
18
19 Auth::Negotiate::User::~User()
20 {
21 debugs(29, 5, HERE << "doing nothing to clear Negotiate scheme data for '" << this << "'");
22 }
23
24 int32_t
25 Auth::Negotiate::User::ttl() const
26 {
27 return -1; // Negotiate cannot be cached.
28 }
29