#include "squid.h"
#include "acl/FilledChecklist.h"
#include "auth/Config.h"
#include "client_side.h"
#include "comm/Connection.h"
#include "fatal.h"
#include "format/Format.h"
#include "helper.h"
#include "helper/Reply.h"
#include "http/Stream.h"
#include "HttpReply.h"
#include "HttpRequest.h"
#include "MemBuf.h"
Go to the source code of this file.
Functions | |
static void | authenticateAuthUserRequestSetIp (Auth::UserRequest::Pointer auth_user_request, Ip::Address &ipaddr) |
void | authenticateAuthUserRequestRemoveIp (Auth::UserRequest::Pointer auth_user_request, Ip::Address const &ipaddr) |
void | authenticateAuthUserRequestClearIp (Auth::UserRequest::Pointer auth_user_request) |
int | authenticateAuthUserRequestIPCount (Auth::UserRequest::Pointer auth_user_request) |
int | authenticateUserAuthenticated (Auth::UserRequest::Pointer auth_user_request) |
static void | authenticateAuthenticateUser (Auth::UserRequest::Pointer auth_user_request, HttpRequest *request, ConnStateData *conn, Http::HdrType type) |
static Auth::UserRequest::Pointer | authTryGetUser (Auth::UserRequest::Pointer auth_user_request, ConnStateData *conn, HttpRequest *request) |
static Auth::ConfigVector & | schemesConfig (HttpRequest *request, HttpReply *rep) |
Function Documentation
◆ authenticateAuthenticateUser()
|
static |
Definition at line 222 of file UserRequest.cc.
References assert, Auth::UserRequest::authenticate(), conn, and RefCount< C >::getRaw().
Referenced by Auth::UserRequest::authenticate().
◆ authenticateAuthUserRequestClearIp()
void authenticateAuthUserRequestClearIp | ( | Auth::UserRequest::Pointer | auth_user_request | ) |
Definition at line 158 of file UserRequest.cc.
References Auth::User::clearIp(), and Auth::UserRequest::user().
Referenced by ACLMaxUserIP::match().
◆ authenticateAuthUserRequestIPCount()
int authenticateAuthUserRequestIPCount | ( | Auth::UserRequest::Pointer | auth_user_request | ) |
Definition at line 165 of file UserRequest.cc.
References assert, Auth::User::ipcount, and Auth::UserRequest::user().
Referenced by ACLMaxUserIP::match().
◆ authenticateAuthUserRequestRemoveIp()
void authenticateAuthUserRequestRemoveIp | ( | Auth::UserRequest::Pointer | auth_user_request, |
Ip::Address const & | ipaddr | ||
) |
Definition at line 147 of file UserRequest.cc.
References Auth::User::removeIp(), and Auth::UserRequest::user().
Referenced by ACLMaxUserIP::match().
◆ authenticateAuthUserRequestSetIp()
|
static |
Definition at line 136 of file UserRequest.cc.
References Auth::User::addIp(), and Auth::UserRequest::user().
Referenced by Auth::UserRequest::authenticate().
◆ authenticateUserAuthenticated()
int authenticateUserAuthenticated | ( | Auth::UserRequest::Pointer | auth_user_request | ) |
See Auth::UserRequest::authenticated()
Definition at line 176 of file UserRequest.cc.
References Auth::UserRequest::authenticated(), and Auth::UserRequest::valid().
Referenced by Auth::UserRequest::authenticate(), Auth::UserRequest::direction(), and ACLProxyAuth::matchProxyAuth().
◆ authTryGetUser()
|
static |
Definition at line 230 of file UserRequest.cc.
References HttpRequest::auth_user_request, conn, Auth::User::notes, UpdateRequestNotes(), and Auth::UserRequest::user().
Referenced by Auth::UserRequest::authenticate(), and Auth::UserRequest::tryToAuthenticateAndSetAuthUser().
◆ schemesConfig()
|
static |
Definition at line 465 of file UserRequest.cc.
References ACLChecklist::fastCheck(), HTTPMSGLOCK(), ACLFilledChecklist::reply, Auth::Config::schemeAccess, Auth::Config::schemeLists, Auth::Config::schemes, and Auth::TheConfig.
Referenced by Auth::UserRequest::AddReplyAuthHeader().