stub_libauth.cc File Reference
#include "squid.h"
#include "STUB.h"
#include "auth/SchemeConfig.h"
#include "auth/Gadgets.h"
#include "auth/Scheme.h"
#include <vector>
#include "auth/SchemesConfig.h"
#include "auth/User.h"
#include "auth/UserRequest.h"
#include "AuthReg.h"
Include dependency graph for stub_libauth.cc:

Go to the source code of this file.

Namespaces

 Auth
 HTTP Authentication.
 

Macros

#define STUB_API   "auth/libauth.la"
 

Functions

int authenticateActiveSchemeCount (void)
 
int authenticateSchemeCount (void)
 
void authenticateInit (Auth::ConfigVector *)
 
void authenticateRotate (void)
 
void authenticateReset (void)
 
void authenticateAuthUserRequestRemoveIp (Auth::UserRequest::Pointer, Ip::Address const &)
 
void authenticateAuthUserRequestClearIp (Auth::UserRequest::Pointer)
 
int authenticateAuthUserRequestIPCount (Auth::UserRequest::Pointer)
 
int authenticateUserAuthenticated (Auth::UserRequest::Pointer)
 

Macro Definition Documentation

#define STUB_API   "auth/libauth.la"

Definition at line 11 of file stub_libauth.cc.

Function Documentation

int authenticateActiveSchemeCount ( void  )

Definition at line 25 of file stub_libauth.cc.

References debugs, HERE(), and Auth::TheConfig.

void authenticateAuthUserRequestClearIp ( Auth::UserRequest::Pointer  )

Definition at line 65 of file stub_libauth.cc.

References NULL.

int authenticateAuthUserRequestIPCount ( Auth::UserRequest::Pointer  )

Definition at line 66 of file stub_libauth.cc.

References assert, and NULL.

void authenticateAuthUserRequestRemoveIp ( Auth::UserRequest::Pointer  ,
Ip::Address const &   
)

Definition at line 64 of file stub_libauth.cc.

References Auth::User::removeIp().

void authenticateInit ( Auth::ConfigVector )

Definition at line 27 of file stub_libauth.cc.

References authenticateRegisterWithCacheManager().

void authenticateReset ( void  )

Remove all idle authentication state. Intended for use by reconfigure.

Removes the username cache contents and global configuration state. Stops just short of detaching the auth components completely.

Currently active requests should finish. Howevee new requests will not use authentication unless something causes the global config to be rebuilt. Such as a configure load action adding config and re-running authenticateInit().

Definition at line 29 of file stub_libauth.cc.

References authenticateRotate(), debugs, Auth::Config::schemes, and Auth::TheConfig.

void authenticateRotate ( void  )

Definition at line 28 of file stub_libauth.cc.

References Auth::TheConfig.

int authenticateSchemeCount ( void  )

Definition at line 26 of file stub_libauth.cc.

References debugs, Auth::Scheme::GetSchemes(), and HERE().

int authenticateUserAuthenticated ( Auth::UserRequest::Pointer  )

See Auth::UserRequest::authenticated()

Definition at line 67 of file stub_libauth.cc.

References NULL.

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors