]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
SourceLayout: src/auth, take 0
authorAlex Rousskov <rousskov@measurement-factory.com>
Tue, 24 Feb 2009 23:52:44 +0000 (16:52 -0700)
committerAlex Rousskov <rousskov@measurement-factory.com>
Tue, 24 Feb 2009 23:52:44 +0000 (16:52 -0700)
Moved src/AuthFoo* to src/auth/Foo*
All auth libraries are built in auth/ now.

Simplified and documented AUTH_* autotools variables.

Auth sources are no longer added to executables directly.

TODO: Add Makefiles to specific auth modules.
TODO: Add Auth namespace and rename auth classes accordingnly.

These changes were triggered by a yet unfinished attempt to make
"make distclean" work.

38 files changed:
configure.in
src/ACLChecklist.cc
src/ACLMaxUserIP.cc
src/ACLProxyAuth.cc
src/DelayUser.cc
src/HttpRequest.cc
src/ICAP/ICAPModXact.cc
src/Makefile.am
src/auth/Config.cc [moved from src/AuthConfig.cc with 98% similarity]
src/auth/Config.h [moved from src/AuthConfig.h with 100% similarity]
src/auth/Makefile.am
src/auth/Scheme.cc [moved from src/AuthScheme.cc with 98% similarity]
src/auth/Scheme.h [moved from src/AuthScheme.h with 100% similarity]
src/auth/User.cc [moved from src/AuthUser.cc with 99% similarity]
src/auth/User.cci [moved from src/AuthUser.cci with 100% similarity]
src/auth/User.h [moved from src/AuthUser.h with 99% similarity]
src/auth/UserRequest.cc [moved from src/AuthUserRequest.cc with 99% similarity]
src/auth/UserRequest.h [moved from src/AuthUserRequest.h with 100% similarity]
src/auth/basic/auth_basic.h
src/auth/basic/basicScheme.h
src/auth/digest/auth_digest.h
src/auth/digest/digestScheme.h
src/auth/negotiate/auth_negotiate.h
src/auth/negotiate/negotiateScheme.h
src/auth/ntlm/auth_ntlm.h
src/auth/ntlm/ntlmScheme.h
src/authenticate.cc
src/cache_cf.cc
src/client_side.cc
src/client_side_reply.cc
src/client_side_request.cc
src/errorpage.cc
src/external_acl.cc
src/http.cc
src/peer_userhash.cc
src/redirect.cc
src/stat.cc
src/tests/testAuth.cc

index ff81f6af820fd3692cd3bca8f41ee8ff53229826..29c162313d41724b2abec9785a10ad4c609cdb2f 100644 (file)
@@ -1563,19 +1563,22 @@ if test -n "$AUTH_MODULES"; then
        eval AUTH_MODULE_${module}=yes
     done
     AC_MSG_NOTICE([Auth scheme modules built: $AUTH_MODULES])
-    AUTH_OBJS="auth/lib`echo $AUTH_MODULES|sed -e 's% %.a auth/lib%g'`.a"
-    AUTH_LIBS="`echo $AUTH_OBJS|sed -e 's%auth/%%g'`"
 else
     AC_MSG_WARN([Auth scheme modules built: None])
 fi
-AUTH_LINKOBJS=
+dnl Authentication libraries to build
+dnl This list will not be needed when each auth library has its own Makefile
+AUTH_LIBS_TO_BUILD=
+dnl Authentication libraries to link authenticating executables with.
+dnl These are the same as AUTH_LIBS_TO_BUILD, but with a path
+AUTH_LIBS_TO_ADD=
 for module in $AUTH_MODULES; do
-  AUTH_LINKOBJS="$AUTH_LINKOBJS auth/${module}/${module}Scheme.o"
+    AUTH_LIBS_TO_BUILD="$AUTH_LIBS_TO_BUILD lib${module}.a"
+    AUTH_LIBS_TO_ADD="$AUTH_LIBS_TO_ADD auth/lib${module}.a"
 done
 AC_SUBST(AUTH_MODULES)
-AC_SUBST(AUTH_LIBS)
-AC_SUBST(AUTH_LINKOBJS)
-AC_SUBST(AUTH_OBJS)
+AC_SUBST(AUTH_LIBS_TO_ADD)
+AC_SUBST(AUTH_LIBS_TO_BUILD)
 
 dnl bundled auth modules, in order to have handy defines for the cppunit testsuite
 test -n "$AUTH_MODULE_basic" && AC_DEFINE([HAVE_AUTH_MODULE_BASIC],1,[Basic auth module is built])
index 33b317e31c4391b55fcd360983492bc75600c1d6..4811f5cd48d2ca1020eb3dac4c6d919d92a7f439 100644 (file)
@@ -40,7 +40,7 @@
 #include "authenticate.h"
 #include "ACLProxyAuth.h"
 #include "client_side.h"
-#include "AuthUserRequest.h"
+#include "auth/UserRequest.h"
 
 int
 ACLChecklist::authenticated()
index 4d561a385f7a28cec7d11d971e749765c0210f39..31aafc4212a1ce8949cf4c7bb0560fe82f649670 100644 (file)
@@ -36,7 +36,7 @@
 
 #include "squid.h"
 #include "ACLMaxUserIP.h"
-#include "AuthUserRequest.h"
+#include "auth/UserRequest.h"
 #include "authenticate.h"
 #include "wordlist.h"
 #include "ConfigParser.h"
index 312d908acb632147358720e2e9d8ab4d564fa34b..e8643cd38bab8be0ed3c84dd6da9c67e801e4d56 100644 (file)
@@ -42,8 +42,8 @@
 #include "ACLRegexData.h"
 #include "client_side.h"
 #include "HttpRequest.h"
-#include "AuthUser.h"
-#include "AuthUserRequest.h"
+#include "auth/User.h"
+#include "auth/UserRequest.h"
 
 ACLProxyAuth::~ACLProxyAuth()
 {
index d32b5f2186f74016a36106282716598bf8872178..9ddbe4d1dd9b4b5593cd9a71f21ee0e87fa85516 100644 (file)
@@ -40,8 +40,8 @@
 #if DELAY_POOLS
 #include "squid.h"
 #include "DelayUser.h"
-#include "AuthUserRequest.h"
-#include "AuthUser.h"
+#include "auth/UserRequest.h"
+#include "auth/User.h"
 #include "NullDelayId.h"
 #include "Store.h"
 
index b27814e6704a557f39d9d8f44b3cadd9b2ae9273..1f80874d41380537c3eee89d2f63ab1cebaf66eb 100644 (file)
@@ -36,7 +36,7 @@
 
 #include "squid.h"
 #include "HttpRequest.h"
-#include "AuthUserRequest.h"
+#include "auth/UserRequest.h"
 #include "HttpHeaderRange.h"
 #include "MemBuf.h"
 #include "Store.h"
index 06cd1138e1df9a19f105e76b545509132eb843fe..c45b898da7917bf592041972c2d758c5383df0ec 100644 (file)
@@ -14,7 +14,7 @@
 #include "ICAPClient.h"
 #include "ChunkedCodingParser.h"
 #include "TextException.h"
-#include "AuthUserRequest.h"
+#include "auth/UserRequest.h"
 #include "ICAPConfig.h"
 #include "SquidTime.h"
 
index 239fe53746e7bcb93b3670722a474e5c241c99bf..793d2c85140bffd813f7c527288c7ead23d38f2c 100644 (file)
@@ -208,12 +208,12 @@ AM_CXXFLAGS = @SQUID_CXXFLAGS@
 
 EXTRA_LIBRARIES = libAIO.a libBlocking.a libDiskDaemon.a libDiskThreads.a
 noinst_LIBRARIES = @DISK_LIBS@
-noinst_LTLIBRARIES = libsquid.la libauth.la
+noinst_LTLIBRARIES = libsquid.la
 
 # libraries used by many targets
 COMMON_LIBS = \
        libsquid.la \
-       libauth.la \
+       auth/libauth.a \
        base/libbase.la \
        ip/libip.la
 
@@ -289,16 +289,6 @@ DiskIO/DiskIOModules_gen.cc: Makefile
        $(SHELL) $(srcdir)/DiskIO/modules.sh $(DISK_MODULES) > DiskIO/DiskIOModules_gen.cc
 
 
-all_AUTHMODULES = \
-       auth/basic/basicScheme.cc \
-       auth/basic/basicScheme.h \
-       auth/digest/digestScheme.cc \
-       auth/digest/digestScheme.h \
-       auth/ntlm/ntlmScheme.cc \
-       auth/ntlm/ntlmScheme.h \
-       auth/negotiate/negotiateScheme.cc \
-       auth/negotiate/negotiateScheme.h 
-
 EXTRA_squid_SOURCES = \
        $(all_FSMODULES) \
        $(AIO_WIN32_ALL_SOURCES) \
@@ -435,15 +425,6 @@ libsquid_la_SOURCES = \
         TextException.cc \
         TextException.h
 
-# authentication framework
-libauth_la_SOURCES = \
-       AuthConfig.cc \
-       AuthConfig.h \
-       AuthScheme.cc \
-       AuthScheme.h \
-       AuthUser.cc \
-       AuthUserRequest.cc
-
 squid_SOURCES = \
        access_log.cc \
        AccessLogEntry.h \
@@ -672,9 +653,6 @@ squid_SOURCES = \
        $(WINSVC_SOURCE)
 
 noinst_HEADERS = ACLChecklist.cci \
-       AuthUser.cci \
-       AuthUser.h \
-       AuthUserRequest.h \
        client_side_request.cci \
        MemBuf.cci \
        MemBuf.h \
@@ -701,8 +679,7 @@ squid_LDADD = \
        @STORE_LINKOBJS@ \
        @STORE_OBJS@ \
        @DISK_LIBS@ \
-       @AUTH_LINKOBJS@ \
-       @AUTH_OBJS@ \
+       @AUTH_LIBS_TO_ADD@ \
        @CRYPTLIB@ \
        @REGEXLIB@ \
        @SNMPLIB@ \
@@ -718,8 +695,7 @@ squid_DEPENDENCIES = $(top_builddir)/lib/libmiscutil.a \
        @DISK_LIBS@ \
        @DISK_LINKOBJS@ \
        @REPL_OBJS@ \
-       @AUTH_LINKOBJS@ \
-       @AUTH_OBJS@
+       @AUTH_LIBS_TO_ADD@
 
 if USE_LOADABLE_MODULES
 squid_SOURCES += $(LOADABLE_MODULES_SOURCES)
@@ -921,7 +897,7 @@ ufsdump_LDADD = \
        @XTRA_OBJS@ \
        @REPL_OBJS@ \
        @STORE_OBJS@ \
-       @AUTH_OBJS@ \
+       @AUTH_LIBS_TO_ADD@ \
        @CRYPTLIB@ \
        @REGEXLIB@ \
        @SNMPLIB@ \
@@ -937,8 +913,7 @@ ufsdump_DEPENDENCIES = $(top_builddir)/lib/libmiscutil.a \
        @DISK_LIBS@ \
        @DISK_LINKOBJS@ \
        @REPL_OBJS@ \
-       @AUTH_LINKOBJS@ \
-       @AUTH_OBJS@
+       @AUTH_LIBS_TO_ADD@
 
 nodist_ufsdump_SOURCES = \
        repl_modules.cc \
@@ -1245,15 +1220,14 @@ nodist_tests_testAuth_SOURCES = \
 
 tests_testAuth_LDADD= \
        $(COMMON_LIBS) \
-       @AUTH_LINKOBJS@ @AUTH_OBJS@ \
+       @AUTH_LIBS_TO_ADD@ \
        -L../lib -lmiscutil \
        @REGEXLIB@ \
        @SQUID_CPPUNIT_LIBS@ \
        @SSLLIB@
 tests_testAuth_LDFLAGS = $(LIBADD_DL)
 tests_testAuth_DEPENDENCIES = $(top_builddir)/lib/libmiscutil.a \
-       @AUTH_LINKOBJS@ \
-       @AUTH_OBJS@ \
+       @AUTH_LIBS_TO_ADD@ \
        @SQUID_CPPUNIT_LA@
 
 ## Tests for the ACLMaxUserIP class
similarity index 98%
rename from src/AuthConfig.cc
rename to src/auth/Config.cc
index bcfbf7f6fc59633b4fbca2162894fa03e1d4307a..0b4beb0862f3c6c31b2656224f6dc68d97e30968 100644 (file)
@@ -34,8 +34,8 @@
  */
 
 #include "squid.h"
-#include "AuthConfig.h"
-#include "AuthUserRequest.h"
+#include "auth/Config.h"
+#include "auth/UserRequest.h"
 
 /* Get Auth User: Return a filled out auth_user structure for the given
  * Proxy Auth (or Auth) header. It may be a cached Auth User or a new
similarity index 100%
rename from src/AuthConfig.h
rename to src/auth/Config.h
index 70749bc172a0844227e693a3bba9f3718618a87b..835b3cbc3926c3f15812aa563b0aea7cfdaa6fb2 100644 (file)
@@ -1,37 +1,59 @@
-#  Makefile for authentication modules in the Squid Object Cache server
-#
-#  $Id$
-#
-AUTOMAKE_OPTIONS = subdir-objects
-AM_CFLAGS = @SQUID_CFLAGS@
-AM_CXXFLAGS = @SQUID_CXXFLAGS@
-CLEANFILES =
+include $(top_srcdir)/src/Common.am
 
 EXTRA_LIBRARIES        = libbasic.a libdigest.a libntlm.a libnegotiate.a
-noinst_LIBRARIES       = @AUTH_LIBS@
+noinst_LIBRARIES = libauth.a @AUTH_LIBS_TO_BUILD@
 
-libbasic_a_SOURCES     = basic/auth_basic.cc basic/auth_basic.h
-libdigest_a_SOURCES    = digest/auth_digest.cc digest/auth_digest.h
-libntlm_a_SOURCES      = ntlm/auth_ntlm.cc ntlm/auth_ntlm.h
-libnegotiate_a_SOURCES = negotiate/auth_negotiate.cc negotiate/auth_negotiate.h negotiate/negotiateScheme.cc negotiate/negotiateScheme.h
+## authentication framework; this library is always built
+## TODO: use libtool and add @AUTH_LIBS_TO_BUILD@ to libauth.la
+libauth_a_SOURCES = \
+       Config.cc \
+       Config.h \
+       Scheme.cc \
+       Scheme.h \
+       User.h \
+       User.cci \
+       User.cc \
+       UserRequest.h \
+       UserRequest.cc
 
-INCLUDES = \
-       -I$(top_srcdir) \
-       -I. \
-       -I$(top_builddir)/include \
-       -I$(top_srcdir)/include \
-       -I$(top_srcdir)/src
+libbasic_a_SOURCES = \
+       basic/basicScheme.cc \
+       basic/basicScheme.h \
+       basic/auth_basic.cc \
+       basic/auth_basic.h
 
-check_PROGRAMS= testHeaders
+libdigest_a_SOURCES = \
+       digest/digestScheme.cc \
+       digest/digestScheme.h \
+       digest/auth_digest.cc \
+       digest/auth_digest.h
+
+libntlm_a_SOURCES = \
+       ntlm/ntlmScheme.cc \
+       ntlm/ntlmScheme.h \
+       ntlm/auth_ntlm.cc \
+       ntlm/auth_ntlm.h
+
+libnegotiate_a_SOURCES = \
+       negotiate/negotiateScheme.cc \
+       negotiate/negotiateScheme.h \
+       negotiate/auth_negotiate.cc \
+       negotiate/auth_negotiate.h
+
+# TODO: fix #include statements so that this is not needed
+INCLUDES += -I.
+
+
+check_PROGRAMS += testHeaders
 
 ## Special Universal .h dependency test script
 ## aborts if error encountered
-testHeaders: $(top_srcdir)/src/auth/basic/*.h $(top_srcdir)/src/auth/digest/*.h $(top_srcdir)/src/auth/ntlm/*.h $(top_srcdir)/src/auth/negotiate/*.h
+testHeaders: $(top_srcdir)/src/auth/*.h $(top_srcdir)/src/auth/basic/*.h $(top_srcdir)/src/auth/digest/*.h $(top_srcdir)/src/auth/ntlm/*.h $(top_srcdir)/src/auth/negotiate/*.h
+       $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" "." || exit 1
        $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" "basic" || exit 1
        $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" "digest" || exit 1
        $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" "ntlm" || exit 1
        $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" "negotiate" || exit 1
-## ./ has no .h files
 
 ## No such file...
 testHeaders.c:
similarity index 98%
rename from src/AuthScheme.cc
rename to src/auth/Scheme.cc
index 55699f545ed8cf66959ec733af25e77963dc9caa..4d3bf1cb07867e58ab985b8fba49536284df3698 100644 (file)
@@ -35,9 +35,9 @@
  */
 
 #include "squid.h"
-#include "AuthScheme.h"
+#include "auth/Scheme.h"
 #include "authenticate.h"
-#include "AuthConfig.h"
+#include "auth/Config.h"
 
 Vector<AuthScheme*> *AuthScheme::_Schemes = NULL;
 
similarity index 100%
rename from src/AuthScheme.h
rename to src/auth/Scheme.h
similarity index 99%
rename from src/AuthUser.cc
rename to src/auth/User.cc
index c8a47ef98facb1d9d0f9c790b05b3acf4764d06d..f0ce00f49ed0deebe4dd3feaa52ef5e6b8999aa8 100644 (file)
  */
 
 #include "squid.h"
-#include "AuthUser.h"
-#include "AuthUserRequest.h"
-#include "AuthConfig.h"
+#include "auth/User.h"
+#include "auth/UserRequest.h"
+#include "auth/Config.h"
 #include "authenticate.h"
 #include "ACL.h"
 #include "event.h"
 #include "SquidTime.h"
 
 #ifndef _USE_INLINE_
-#include "AuthUser.cci"
+#include "auth/User.cci"
 #endif
 
 // This should be converted into a pooled type. Does not need to be cbdata
similarity index 100%
rename from src/AuthUser.cci
rename to src/auth/User.cci
similarity index 99%
rename from src/AuthUser.h
rename to src/auth/User.h
index 56f00eeca474778de62463c1ec0c8ac891f52acb..47a99337e93b54e3b0655b04fcf4b0cc53adb74f 100644 (file)
@@ -112,7 +112,7 @@ private:
 };
 
 #ifdef _USE_INLINE_
-#include "AuthUser.cci"
+#include "auth/User.cci"
 #endif
 
 #endif /* SQUID_AUTHUSER_H */
similarity index 99%
rename from src/AuthUserRequest.cc
rename to src/auth/UserRequest.cc
index 1343427dc3018321799d0e656bf812ea0f4a3cfc..69423e2feccc97d1446b85138d58e8979fdb4bbb 100644 (file)
  * See acl.c for access control and client_side.c for auditing */
 
 #include "squid.h"
-#include "AuthUserRequest.h"
-#include "AuthUser.h"
+#include "auth/UserRequest.h"
+#include "auth/User.h"
 /*#include "authenticate.h"
 #include "ACL.h"
 #include "client_side.h"
 */
-#include "AuthConfig.h"
-#include "AuthScheme.h"
+#include "auth/Config.h"
+#include "auth/Scheme.h"
 #include "HttpReply.h"
 #include "HttpRequest.h"
 
similarity index 100%
rename from src/AuthUserRequest.h
rename to src/auth/UserRequest.h
index 8907885bec9de394d70989abcbb56fc372c513f2..81c512f33e4306f715508b209d5331c32ae7dfda 100644 (file)
@@ -6,9 +6,9 @@
 #ifndef __AUTH_BASIC_H__
 #define __AUTH_BASIC_H__
 #include "authenticate.h"
-#include "AuthUser.h"
-#include "AuthUserRequest.h"
-#include "AuthConfig.h"
+#include "auth/User.h"
+#include "auth/UserRequest.h"
+#include "auth/Config.h"
 #include "helper.h"
 
 #define DefaultAuthenticateChildrenMax  32     /* 32 processes */
index a0884994f6d794dc5a34e93e536fa70fc8ed4db0..f431b10154b69550839d59752085850220ca3c1c 100644 (file)
@@ -34,7 +34,7 @@
 #ifndef SQUID_BASICSCHEME_H
 #define SQUID_BASICSCHEME_H
 
-#include "AuthScheme.h"
+#include "auth/Scheme.h"
 
 /// \ingroup AuthAPI
 /// \ingroup AuthSchemeAPI
index 74fce505a05f680c54f45c0558c8c7539f191dd9..b8656d3d6fd7b99caa1016ab2346d6a7a63c8fb3 100644 (file)
@@ -7,9 +7,9 @@
 #define __AUTH_DIGEST_H__
 #include "rfc2617.h"
 #include "authenticate.h"
-#include "AuthUser.h"
-#include "AuthUserRequest.h"
-#include "AuthConfig.h"
+#include "auth/User.h"
+#include "auth/UserRequest.h"
+#include "auth/Config.h"
 #include "helper.h"
 
 /* Generic */
index 941d4ffc2978fee1def8e5b5841960b3d4dd4e23..156044fe799797cdbb90aa47a2964814ed82d93a 100644 (file)
@@ -34,7 +34,7 @@
 #ifndef SQUID_DIGESTSCHEME_H
 #define SQUID_DIGESTSCHEME_H
 
-#include "AuthScheme.h"
+#include "auth/Scheme.h"
 
 /// \ingroup AuthSchemeAPI
 /// \ingroup AuthAPI
index 8f32e78213b9552e724d6c19bb0366719da99853..2d38b61cd4b0def6fc978f5a56f2cf0e3759fff7 100644 (file)
@@ -6,9 +6,9 @@
 #ifndef __AUTH_NEGOTIATE_H__
 #define __AUTH_NEGOTIATE_H__
 #include "authenticate.h"
-#include "AuthUser.h"
-#include "AuthUserRequest.h"
-#include "AuthConfig.h"
+#include "auth/User.h"
+#include "auth/UserRequest.h"
+#include "auth/Config.h"
 #include "helper.h"
 
 /**
index 6abbdc5fd6d79b730a86bfc02ba0e88c3a4560d0..8923683f9c4df5cd3c4f0d377d100386a55d57c0 100644 (file)
@@ -34,7 +34,7 @@
 #ifndef SQUID_NEGOTIATESCHEME_H
 #define SQUID_NEGOTIATESCHEME_H
 
-#include "AuthScheme.h"
+#include "auth/Scheme.h"
 
 /// \ingroup AuthSchemeAPI
 /// \ingroup AuthAPI
index 684d21f280eb9953596a0cfab9b63b7860858209..97239a4e221cf2fe9efd7dba4670189cba13258c 100644 (file)
@@ -6,9 +6,9 @@
 #ifndef __AUTH_NTLM_H__
 #define __AUTH_NTLM_H__
 #include "authenticate.h"
-#include "AuthUser.h"
-#include "AuthUserRequest.h"
-#include "AuthConfig.h"
+#include "auth/User.h"
+#include "auth/UserRequest.h"
+#include "auth/Config.h"
 #include "helper.h"
 
 #define DefaultAuthenticateChildrenMax  32     /* 32 processes */
index 9af2f3a859ef45d1eb4da6013519d2dc557d7b57..94f10a9b3355754cf3079c45ad46f9152afb29d1 100644 (file)
@@ -34,7 +34,7 @@
 #ifndef SQUID_NTLMSCHEME_H
 #define SQUID_NTLMSCHEME_H
 
-#include "AuthScheme.h"
+#include "auth/Scheme.h"
 
 /// \ingroup AuthSchemeAPI
 /// \ingroup AuthAPI
index 4676201ac3856b2d4e70f2cd8bc95a3e7e48ca5c..f3fcbc41fbcaa6f2349ec3e2471875eefd913a5f 100644 (file)
@@ -41,9 +41,9 @@
 #include "authenticate.h"
 #include "ACL.h"
 #include "client_side.h"
-#include "AuthConfig.h"
-#include "AuthScheme.h"
-#include "AuthUser.h"
+#include "auth/Config.h"
+#include "auth/Scheme.h"
+#include "auth/User.h"
 #include "HttpReply.h"
 #include "HttpRequest.h"
 
index 661f41ca268d0519fab7aeb9806f43b47ca9cb04..cbf2f347db2cc92bbc5de91f6c3e8a8293730954 100644 (file)
@@ -36,8 +36,8 @@
 #include "authenticate.h"
 #include "ProtoPort.h"
 #include "HttpRequestMethod.h"
-#include "AuthConfig.h"
-#include "AuthScheme.h"
+#include "auth/Config.h"
+#include "auth/Scheme.h"
 #include "CacheManager.h"
 #include "Store.h"
 #include "SwapDir.h"
index e91d70d0c54c47f00080fc083817a9c2e0dfe090..4934d55126ae227d1084ca3d925d39f66b9067ca 100644 (file)
@@ -85,7 +85,7 @@
 #include "client_side.h"
 #include "clientStream.h"
 #include "ProtoPort.h"
-#include "AuthUserRequest.h"
+#include "auth/UserRequest.h"
 #include "Store.h"
 #include "comm.h"
 #include "HttpHdrContRange.h"
index fc024c596f0847618f752f03ee98f85cf91cf489..277a215ff739f4f884a27bdaead8df74646332b7 100644 (file)
@@ -46,7 +46,7 @@
 #include "HttpRequest.h"
 #include "forward.h"
 #include "clientStream.h"
-#include "AuthUserRequest.h"
+#include "auth/UserRequest.h"
 #if USE_SQUID_ESI
 #include "ESI.h"
 #endif
index 781e7dcab3be139f386813fbe8c4603948edd5fa..f59e386162208f1ba459b726d0cb91370c6745b5 100644 (file)
@@ -45,7 +45,7 @@
 #include "squid.h"
 #include "clientStream.h"
 #include "client_side_request.h"
-#include "AuthUserRequest.h"
+#include "auth/UserRequest.h"
 #include "HttpRequest.h"
 #include "ProtoPort.h"
 #include "ACLChecklist.h"
index 026500a3431ad7893d8122f07401b6043c4222aa..02d41d746279b622282d8b9798d55c2e1c9653b8 100644 (file)
@@ -35,7 +35,7 @@
 #include "config.h"
 
 #include "errorpage.h"
-#include "AuthUserRequest.h"
+#include "auth/UserRequest.h"
 #include "SquidTime.h"
 #include "Store.h"
 #include "HttpReply.h"
index 7adc8f610bf9f23f1e8302d00a1a90c8d6a347cb..7948822189b75ad88674021bafe3937b26c657a1 100644 (file)
@@ -44,7 +44,7 @@
 #include "CacheManager.h"
 #include "ExternalACL.h"
 #include "ExternalACLEntry.h"
-#include "AuthUserRequest.h"
+#include "auth/UserRequest.h"
 #include "SquidTime.h"
 #include "Store.h"
 #include "fde.h"
index c2f37677236da900ae0ba01f726556aa4597af04..69157b40d96dac57ee695e0bb9d231bce6eb0bdf 100644 (file)
@@ -42,7 +42,7 @@
 #include "errorpage.h"
 #include "MemBuf.h"
 #include "http.h"
-#include "AuthUserRequest.h"
+#include "auth/UserRequest.h"
 #include "Store.h"
 #include "HttpReply.h"
 #include "HttpRequest.h"
index 957280547295f151ee53376481b8d9fb82fce82f..5d4255ff0cf03eafed3dab1d8cbe09b927e9e792 100644 (file)
@@ -38,7 +38,7 @@
 #include "CacheManager.h"
 #include "Store.h"
 #include "HttpRequest.h"
-#include "AuthUserRequest.h"
+#include "auth/UserRequest.h"
 
 #define ROTATE_LEFT(x, n) (((x) << (n)) | ((x) >> (32-(n))))
 
index 6d9ad53ac951f412d40e879ff9c205dca6d33821..cff7013bb2ea46c517f94102f8ce95eb894119e4 100644 (file)
@@ -34,7 +34,7 @@
  */
 
 #include "squid.h"
-#include "AuthUserRequest.h"
+#include "auth/UserRequest.h"
 #include "CacheManager.h"
 #include "Store.h"
 #include "fde.h"
index a7013901b120e414ccd0c573e9b1c50a5db3f00f..9bc2200ad3a7f028d72cef9bb85ae2065c3ff103 100644 (file)
@@ -35,7 +35,7 @@
 #include "squid.h"
 #include "event.h"
 #include "StoreClient.h"
-#include "AuthUserRequest.h"
+#include "auth/UserRequest.h"
 #include "CacheManager.h"
 #include "Store.h"
 #include "HttpRequest.h"
index 00003b7ed7e6d61d5a644b7ac5b7d34963a3038f..707fa58fe54965d115b6bd001e28f52c893fcfcc 100644 (file)
@@ -3,9 +3,9 @@
 #include "squid.h"
 #include "testAuth.h"
 #include "authenticate.h"
-#include "AuthUserRequest.h"
-#include "AuthScheme.h"
-#include "AuthConfig.h"
+#include "auth/UserRequest.h"
+#include "auth/Scheme.h"
+#include "auth/Config.h"
 #include "Mem.h"
 
 CPPUNIT_TEST_SUITE_REGISTRATION( testAuth );