AclProxyAuth.cc
Go to the documentation of this file.
93 debugs(28, DBG_CRITICAL, "ERROR: Cannot use proxy auth because no authentication schemes were compiled.");
98 debugs(28, DBG_CRITICAL, "ERROR: Cannot use proxy auth because no authentication schemes are fully configured.");
123 checklist->auth_user_request->start(checklist->request.getRaw(), checklist->al, LookupDone, checklist);
131 if (checklist->auth_user_request == nullptr || !checklist->auth_user_request->valid() || checklist->conn() == nullptr) {
167 int result = cacheMatchAcl(&checklist->auth_user_request->user()->proxy_match_cache, checklist);
ACLFilledChecklist * Filled(ACLChecklist *checklist)
convenience and safety wrapper for dynamic_cast<ACLFilledChecklist*>
Definition: FilledChecklist.h:120
int authenticateUserAuthenticated(Auth::UserRequest::Pointer auth_user_request)
Definition: UserRequest.cc:176
Definition: Checklist.h:27
void markFinished(const Acl::Answer &newAnswer, const char *reason)
Definition: Checklist.cc:57
bool keepMatching() const
Whether we should continue to match tree nodes or stop/pause.
Definition: Checklist.h:146
void resumeNonBlockingCheck(AsyncState *state)
Definition: Checklist.cc:261
virtual void parse()=0
virtual SBufList dump() const =0
virtual bool match(M)=0
virtual bool empty() const =0
virtual const Acl::Options & lineOptions()
supported ACL "line" options (e.g., "-i")
Definition: Data.h:26
Definition: FilledChecklist.h:32
AccessLogEntry::Pointer al
info for the future access.log, and external ACL
Definition: FilledChecklist.h:101
Auth::UserRequest::Pointer auth_user_request
Definition: FilledChecklist.h:83
void parse() override
parses node representation in squid.conf; dies on failures
Definition: AclProxyAuth.cc:47
ACLProxyAuth(ACLData< char const * > *, char const *)
Definition: AclProxyAuth.cc:29
int matchForCache(ACLChecklist *checklist) override
Definition: AclProxyAuth.cc:146
int match(ACLChecklist *checklist) override
Matches the actual data in checklist against this ACL.
Definition: AclProxyAuth.cc:53
void start(HttpRequest *request, AccessLogEntry::Pointer &al, AUTHCB *handler, void *data)
Definition: UserRequest.cc:44
void setAuth(const Auth::UserRequest::Pointer &aur, const char *cause)
Definition: client_side.cc:518
Definition: AclProxyAuth.h:19
void checkForAsync(ACLChecklist *) const override
Definition: AclProxyAuth.cc:114