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