]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/auth/ntlm/Scheme.cc
2 * Copyright (C) 1996-2021 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"
13 #include "DebugMessages.h"
16 Auth::Scheme::Pointer
Auth::Ntlm::Scheme::_instance
= NULL
;
19 Auth::Ntlm::Scheme::GetInstance()
21 if (_instance
== NULL
) {
22 _instance
= new Auth::Ntlm::Scheme();
29 Auth::Ntlm::Scheme::type() const
35 Auth::Ntlm::Scheme::shutdownCleanup()
37 if (_instance
== NULL
)
41 debugs(29, Critical(61), "Shutdown: NTLM authentication.");
45 Auth::Ntlm::Scheme::createConfig()
47 Auth::Ntlm::Config
*ntlmCfg
= new Auth::Ntlm::Config
;
48 return dynamic_cast<Auth::SchemeConfig
*>(ntlmCfg
);