CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AuthzAttachment Class Reference

#include <authz_curl.h>

Inheritance diagram for AuthzAttachment:
Collaboration diagram for AuthzAttachment:

Public Member Functions

 AuthzAttachment (AuthzSessionManager *sm)
 
virtual ~AuthzAttachment ()
 
virtual bool ConfigureCurlHandle (CURL *curl_handle, pid_t pid, void **info_data)
 
virtual void ReleaseCurlHandle (CURL *curl_handle, void *info_data)
 
void set_membership (const std::string &m)
 
- Public Member Functions inherited from download::CredentialsAttachment
virtual ~CredentialsAttachment ()
 

Private Member Functions

bool ConfigureSciTokenCurl (CURL *curl_handle, const AuthzToken &token, void **info_data)
 

Static Private Member Functions

static void LogOpenSSLErrors (const char *top_message)
 
static CURLcode CallbackSslCtx (CURL *curl, void *sslctx, void *parm)
 

Private Attributes

AuthzSessionManagerauthz_session_manager_
 
std::string membership_
 

Static Private Attributes

static bool ssl_strings_loaded_ = false
 

Detailed Description

Definition at line 15 of file authz_curl.h.

Constructor & Destructor Documentation

AuthzAttachment::AuthzAttachment ( AuthzSessionManager sm)
explicit

Definition at line 50 of file authz_curl.cc.

virtual AuthzAttachment::~AuthzAttachment ( )
inlinevirtual

Definition at line 18 of file authz_curl.h.

Member Function Documentation

CURLcode AuthzAttachment::CallbackSslCtx ( CURL *  curl,
void *  sslctx,
void *  parm 
)
staticprivate

Definition at line 59 of file authz_curl.cc.

Referenced by ConfigureCurlHandle().

Here is the call graph for this function:

Here is the caller graph for this function:

bool AuthzAttachment::ConfigureCurlHandle ( CURL *  curl_handle,
pid_t  pid,
void **  info_data 
)
virtual

Implements download::CredentialsAttachment.

Definition at line 154 of file authz_curl.cc.

Here is the call graph for this function:

bool AuthzAttachment::ConfigureSciTokenCurl ( CURL *  curl_handle,
const AuthzToken token,
void **  info_data 
)
private

Definition at line 113 of file authz_curl.cc.

Referenced by ConfigureCurlHandle().

Here is the call graph for this function:

Here is the caller graph for this function:

void AuthzAttachment::LogOpenSSLErrors ( const char *  top_message)
staticprivate

Definition at line 296 of file authz_curl.cc.

Referenced by CallbackSslCtx(), and ConfigureCurlHandle().

Here is the call graph for this function:

Here is the caller graph for this function:

void AuthzAttachment::ReleaseCurlHandle ( CURL *  curl_handle,
void *  info_data 
)
virtual

Implements download::CredentialsAttachment.

Definition at line 308 of file authz_curl.cc.

Here is the call graph for this function:

void AuthzAttachment::set_membership ( const std::string &  m)
inline

Definition at line 25 of file authz_curl.h.

Referenced by MountPoint::ReEvaluateAuthz().

Here is the caller graph for this function:

Member Data Documentation

AuthzSessionManager* AuthzAttachment::authz_session_manager_
private

Used to gather user's credentials.

Definition at line 39 of file authz_curl.h.

Referenced by ConfigureCurlHandle().

std::string AuthzAttachment::membership_
private

The required user group needs to be set on mount and remount by the client.

Definition at line 44 of file authz_curl.h.

Referenced by ConfigureCurlHandle(), and set_membership().

bool AuthzAttachment::ssl_strings_loaded_ = false
staticprivate

Definition at line 34 of file authz_curl.h.

Referenced by AuthzAttachment(), and LogOpenSSLErrors().


The documentation for this class was generated from the following files: