]> git.ipfire.org Git - thirdparty/squid.git/commit - src/auth/negotiate/Scheme.cc
Ref-count AuthScheme objects. Restructure the scheme-config relationship.
authorAmos Jeffries <squid3@treenet.co.nz>
Sun, 17 Jan 2010 11:58:04 +0000 (00:58 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 17 Jan 2010 11:58:04 +0000 (00:58 +1300)
commit5817ee138a8409b9a1029eac04853bb95236bb0d
tree9f039ceb90dd42f00826f0fded8d091630aba262
parentedda124411f237a843788fd4c79176600b4c29b8
Ref-count AuthScheme objects. Restructure the scheme-config relationship.

* Schemes are now global permanent objects describing the components
  available. They hold the defaults for each auth mechanism (if any).

* Config are now temporary objects created by schemes and held in
  Auth::TheConfig until no longer needed. They hold all current config
  data about and auth mechanism.

TODO: ref-count the config items and clarify their relationship to
      requests, connections, and user details.
34 files changed:
configure.in
include/RefCount.h
src/AuthReg.cc
src/Makefile.am
src/auth/Config.cc
src/auth/Config.h
src/auth/Gadgets.cc
src/auth/Gadgets.h
src/auth/Scheme.cc
src/auth/Scheme.h
src/auth/User.h
src/auth/UserRequest.cc
src/auth/UserRequest.h
src/auth/basic/auth_basic.cc
src/auth/basic/auth_basic.h
src/auth/basic/basicScheme.cc
src/auth/basic/basicScheme.h
src/auth/digest/auth_digest.cc
src/auth/digest/digestScheme.cc
src/auth/digest/digestScheme.h
src/auth/negotiate/auth_negotiate.cc
src/auth/negotiate/negotiateScheme.cc
src/auth/negotiate/negotiateScheme.h
src/auth/ntlm/auth_ntlm.cc
src/auth/ntlm/ntlmScheme.cc
src/auth/ntlm/ntlmScheme.h
src/cache_cf.cc
src/cf.data.pre
src/cf_gen.cc
src/main.cc
src/protos.h
src/structs.h
src/tests/testAuth.cc
test-suite/Makefile.am