])
m4_include([helpers/basic_auth/modules.m4])
-AC_ARG_ENABLE(auth-ntlm,
- AS_HELP_STRING([--enable-auth-ntlm="list of helpers"],
- [Enable the NTLM authentication scheme, and build the specified helpers.
+AC_ARG_ENABLE(auth-digest,
+ AS_HELP_STRING([--enable-auth-digest="list of helpers"],
+ [Enable the Digest authentication scheme, and build the specified helpers.
Not providing an explicit list of helpers will attempt build of
all possible helpers. Default is to do so.
- To disable the NTLM authentication scheme, use --disable-auth-ntlm.
+ To disable the Digest authentication scheme, use --disable-auth-digest.
To enable but build no helpers, specify "none".
- To see available helpers, see the helpers/ntlm_auth directory. ]),[
+ To see available helpers, see the helpers/digest_auth directory. ]),[
+#nothing to do, really
])
-m4_include([helpers/ntlm_auth/modules.m4])
+m4_include([helpers/digest_auth/modules.m4])
AC_ARG_ENABLE(auth-negotiate,
AS_HELP_STRING([--enable-auth-negotiate="list of helpers"],
])
m4_include([helpers/negotiate_auth/modules.m4])
-AC_ARG_ENABLE(auth-digest,
- AS_HELP_STRING([--enable-auth-digest="list of helpers"],
- [Enable the Digest authentication scheme, and build the specified helpers.
+AC_ARG_ENABLE(auth-ntlm,
+ AS_HELP_STRING([--enable-auth-ntlm="list of helpers"],
+ [Enable the NTLM authentication scheme, and build the specified helpers.
Not providing an explicit list of helpers will attempt build of
all possible helpers. Default is to do so.
- To disable the Digest authentication scheme, use --disable-auth-digest.
+ To disable the NTLM authentication scheme, use --disable-auth-ntlm.
To enable but build no helpers, specify "none".
- To see available helpers, see the helpers/digest_auth directory. ]),[
-#nothing to do, really
+ To see available helpers, see the helpers/ntlm_auth directory. ]),[
])
-m4_include([helpers/digest_auth/modules.m4])
+m4_include([helpers/ntlm_auth/modules.m4])
dnl Authentication libraries to build
dnl This list will not be needed when each auth library has its own Makefile
* See acl.c for access control and client_side.c for auditing */
#include "squid.h"
-#include "auth/basic/auth_basic.h"
+#include "auth/basic/Config.h"
#include "auth/basic/Scheme.h"
#include "auth/basic/User.h"
#include "auth/basic/UserRequest.h"
#include "auth/UserRequest.h"
#include "helper/forward.h"
-#define DefaultAuthenticateChildrenMax 32 /* 32 processes */
-
namespace Auth
{
namespace Basic
noinst_LTLIBRARIES = libbasic.la
libbasic_la_SOURCES = \
+ Config.cc \
+ Config.h \
Scheme.cc \
Scheme.h \
- auth_basic.cc \
- auth_basic.h \
User.cc \
User.h \
UserRequest.cc \
*/
#include "squid.h"
+#include "auth/basic/Config.h"
#include "auth/basic/Scheme.h"
#include "Debug.h"
#include "helper.h"
-/* for Auth::Config */
-#include "auth/basic/auth_basic.h"
-
Auth::Scheme::Pointer Auth::Basic::Scheme::_instance = NULL;
Auth::Scheme::Pointer
#ifndef SQUID_AUTH_BASIC_SCHEME_H
#define SQUID_AUTH_BASIC_SCHEME_H
-#include "auth/basic/auth_basic.h"
#include "auth/Scheme.h"
namespace Auth
*/
#include "squid.h"
-#include "auth/basic/auth_basic.h"
+#include "auth/basic/Config.h"
#include "auth/basic/User.h"
#include "Debug.h"
#include "SquidConfig.h"
*/
#include "squid.h"
-#include "auth/basic/auth_basic.h"
+#include "auth/basic/Config.h"
#include "auth/basic/User.h"
#include "auth/basic/UserRequest.h"
#include "auth/QueueNode.h"
* See acl.c for access control and client_side.c for auditing */
#include "squid.h"
-#include "auth/digest/auth_digest.h"
+#include "auth/digest/Config.h"
#include "auth/digest/Scheme.h"
#include "auth/digest/User.h"
#include "auth/digest/UserRequest.h"
noinst_LTLIBRARIES = libdigest.la
libdigest_la_SOURCES = \
+ Config.cc \
+ Config.h \
Scheme.cc \
Scheme.h \
- auth_digest.cc \
- auth_digest.h \
User.cc \
User.h \
UserRequest.cc \
*/
#include "squid.h"
+#include "auth/digest/Config.h"
#include "auth/digest/Scheme.h"
#include "Debug.h"
#include "globals.h"
#ifndef SQUID_AUTH_DIGEST_SCHEME_H
#define SQUID_AUTH_DIGEST_SCHEME_H
-#include "auth/digest/auth_digest.h"
#include "auth/Scheme.h"
namespace Auth
*/
#include "squid.h"
-#include "auth/digest/auth_digest.h"
+#include "auth/digest/Config.h"
#include "auth/digest/User.h"
#include "Debug.h"
#include "dlink.h"
#include "squid.h"
#include "AccessLogEntry.h"
-#include "auth/digest/auth_digest.h"
+#include "auth/digest/Config.h"
#include "auth/digest/User.h"
#include "auth/digest/UserRequest.h"
#include "auth/State.h"
#ifndef _SQUID_SRC_AUTH_DIGEST_USERREQUEST_H
#define _SQUID_SRC_AUTH_DIGEST_USERREQUEST_H
-#include "auth/digest/auth_digest.h"
#include "auth/UserRequest.h"
#include "MemPool.h"
#include "squid.h"
#include "auth/Gadgets.h"
-#include "auth/negotiate/auth_negotiate.h"
+#include "auth/negotiate/Config.h"
#include "auth/negotiate/Scheme.h"
#include "auth/negotiate/User.h"
#include "auth/negotiate/UserRequest.h"
/// \ingroup AuthNegotiateInternal
static hash_table *proxy_auth_cache = NULL;
-/*
- *
- * Private Functions
- *
- */
-
void
Auth::Negotiate::Config::rotateHelpers()
{
#include "auth/UserRequest.h"
#include "helper/forward.h"
-#define DefaultAuthenticateChildrenMax 32 /* 32 processes */
-
namespace Auth
{
namespace Negotiate
libnegotiate_la_SOURCES = \
Scheme.cc \
Scheme.h \
- auth_negotiate.cc \
- auth_negotiate.h \
+ Config.cc \
+ Config.h \
User.cc \
User.h \
UserRequest.cc \
*/
#include "squid.h"
+#include "auth/negotiate/Config.h"
#include "auth/negotiate/Scheme.h"
#include "Debug.h"
#include "helper.h"
#ifndef SQUID_AUTH_NEGOTIATE_SCHEME_H
#define SQUID_AUTH_NEGOTIATE_SCHEME_H
-#include "auth/negotiate/auth_negotiate.h"
#include "auth/Scheme.h"
namespace Auth
#include "squid.h"
#include "AccessLogEntry.h"
-#include "auth/negotiate/auth_negotiate.h"
+#include "auth/negotiate/Config.h"
#include "auth/negotiate/UserRequest.h"
#include "auth/State.h"
#include "auth/User.h"
#define _SQUID_SRC_AUTH_NEGOTIATE_USERREQUEST_H
#include "auth/UserRequest.h"
+#include "helper/forward.h"
#include "MemPool.h"
class ConnStateData;
class HttpReply;
class HttpRequest;
-class helper_stateful_server;
namespace Auth
{
#include "squid.h"
#include "auth/Gadgets.h"
-#include "auth/ntlm/auth_ntlm.h"
+#include "auth/ntlm/Config.h"
#include "auth/ntlm/Scheme.h"
#include "auth/ntlm/User.h"
#include "auth/ntlm/UserRequest.h"
static hash_table *proxy_auth_cache = NULL;
-/*
- *
- * Private Functions
- *
- */
-
void
Auth::Ntlm::Config::rotateHelpers()
{
#include "auth/UserRequest.h"
#include "helper/forward.h"
-#define DefaultAuthenticateChildrenMax 32 /* 32 processes */
-
class HttpRequest;
class StoreEntry;
noinst_LTLIBRARIES = libntlm.la
libntlm_la_SOURCES = \
+ Config.cc \
+ Config.h \
Scheme.cc \
Scheme.h \
- auth_ntlm.cc \
- auth_ntlm.h \
User.cc \
User.h \
UserRequest.cc \
*/
#include "squid.h"
-#include "auth/ntlm/auth_ntlm.h"
+#include "auth/ntlm/Config.h"
#include "auth/ntlm/Scheme.h"
#include "Debug.h"
#include "helper.h"
#ifndef SQUID_AUTH_NTLM_SCHEME_H
#define SQUID_AUTH_NTLM_SCHEME_H
-#include "auth/ntlm/auth_ntlm.h"
#include "auth/Scheme.h"
namespace Auth
#include "squid.h"
#include "AccessLogEntry.h"
-#include "auth/ntlm/auth_ntlm.h"
+#include "auth/ntlm/Config.h"
#include "auth/ntlm/UserRequest.h"
#include "auth/State.h"
#include "cbdata.h"
#ifndef _SQUID_SRC_AUTH_NTLM_USERREQUEST_H
#define _SQUID_SRC_AUTH_NTLM_USERREQUEST_H
-#include "auth/ntlm/auth_ntlm.h"
#include "auth/UserRequest.h"
+#include "helper/forward.h"
#include "MemPool.h"
class ConnStateData;
class HttpReply;
class HttpRequest;
-class helper_stateful_server;
namespace Auth
{
class helper;
class statefulhelper;
+class helper_server;
+class helper_stateful_server;
+
/// helper protocol primitives
namespace Helper
{