CernVM-FS  2.10.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
authz_curl.h
Go to the documentation of this file.
1 
5 #ifndef CVMFS_AUTHZ_AUTHZ_CURL_H_
6 #define CVMFS_AUTHZ_AUTHZ_CURL_H_
7 
8 #include <string>
9 
10 #include "authz.h"
11 #include "download.h"
12 
14 
16  public:
18  virtual ~AuthzAttachment() { }
19 
20  virtual bool ConfigureCurlHandle(CURL *curl_handle,
21  pid_t pid,
22  void **info_data);
23  virtual void ReleaseCurlHandle(CURL *curl_handle, void *info_data);
24 
25  void set_membership(const std::string &m) { membership_ = m; }
26 
27  private:
28  static void LogOpenSSLErrors(const char *top_message);
29  static CURLcode CallbackSslCtx(CURL *curl, void *sslctx, void *parm);
30  bool ConfigureSciTokenCurl(CURL *curl_handle,
31  const AuthzToken &token,
32  void **info_data);
33 
34  static bool ssl_strings_loaded_;
35 
40 
44  std::string membership_;
45 };
46 
47 #endif // CVMFS_AUTHZ_AUTHZ_CURL_H_
std::string membership_
Definition: authz_curl.h:44
virtual bool ConfigureCurlHandle(CURL *curl_handle, pid_t pid, void **info_data)
Definition: authz_curl.cc:154
static CURLcode CallbackSslCtx(CURL *curl, void *sslctx, void *parm)
Definition: authz_curl.cc:59
static bool ssl_strings_loaded_
Definition: authz_curl.h:34
bool ConfigureSciTokenCurl(CURL *curl_handle, const AuthzToken &token, void **info_data)
Definition: authz_curl.cc:113
AuthzAttachment(AuthzSessionManager *sm)
Definition: authz_curl.cc:50
AuthzSessionManager * authz_session_manager_
Definition: authz_curl.h:39
static void LogOpenSSLErrors(const char *top_message)
Definition: authz_curl.cc:292
virtual ~AuthzAttachment()
Definition: authz_curl.h:18
virtual void ReleaseCurlHandle(CURL *curl_handle, void *info_data)
Definition: authz_curl.cc:304
void set_membership(const std::string &m)
Definition: authz_curl.h:25