]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/AuthReg.cc
5 #if HAVE_AUTH_MODULE_BASIC
6 #include "auth/basic/Scheme.h"
8 #if HAVE_AUTH_MODULE_DIGEST
9 #include "auth/digest/Scheme.h"
11 #if HAVE_AUTH_MODULE_NEGOTIATE
12 #include "auth/negotiate/Scheme.h"
14 #if HAVE_AUTH_MODULE_NTLM
15 #include "auth/ntlm/Scheme.h"
22 * Initialize the authentication modules (if any)
23 * This is required once, before any configuration actions are taken.
28 debugs(29,DBG_IMPORTANT
,"Startup: Initializing Authentication Schemes ...");
29 #if HAVE_AUTH_MODULE_BASIC
30 static const char *basic_type
= Auth::Basic::Scheme::GetInstance()->type();
31 debugs(29,DBG_IMPORTANT
,"Startup: Initialized Authentication Scheme '" << basic_type
<< "'");
33 #if HAVE_AUTH_MODULE_DIGEST
34 static const char *digest_type
= Auth::Digest::Scheme::GetInstance()->type();
35 debugs(29,DBG_IMPORTANT
,"Startup: Initialized Authentication Scheme '" << digest_type
<< "'");
37 #if HAVE_AUTH_MODULE_NEGOTIATE
38 static const char *negotiate_type
= Auth::Negotiate::Scheme::GetInstance()->type();
39 debugs(29,DBG_IMPORTANT
,"Startup: Initialized Authentication Scheme '" << negotiate_type
<< "'");
41 #if HAVE_AUTH_MODULE_NTLM
42 static const char *ntlm_type
= Auth::Ntlm::Scheme::GetInstance()->type();
43 debugs(29,DBG_IMPORTANT
,"Startup: Initialized Authentication Scheme '" << ntlm_type
<< "'");
45 debugs(29,DBG_IMPORTANT
,"Startup: Initialized Authentication.");