]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/auth/negotiate/Scheme.cc
2 * Copyright (C) 1996-2016 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.
10 #include "auth/negotiate/Config.h"
11 #include "auth/negotiate/Scheme.h"
15 Auth::Scheme::Pointer
Auth::Negotiate::Scheme::_instance
= NULL
;
18 Auth::Negotiate::Scheme::GetInstance()
20 if (_instance
== NULL
) {
21 _instance
= new Auth::Negotiate::Scheme();
28 Auth::Negotiate::Scheme::type() const
34 Auth::Negotiate::Scheme::shutdownCleanup()
36 if (_instance
== NULL
)
40 debugs(29, DBG_CRITICAL
, "Shutdown: Negotiate authentication.");
44 Auth::Negotiate::Scheme::createConfig()
46 Auth::Negotiate::Config
*negotiateCfg
= new Auth::Negotiate::Config
;
47 return dynamic_cast<Auth::Config
*>(negotiateCfg
);