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

#include <authz_fetch.h>

Inheritance diagram for AuthzStaticFetcher:
Collaboration diagram for AuthzStaticFetcher:

Public Member Functions

 AuthzStaticFetcher (AuthzStatus s, unsigned ttl)
virtual ~AuthzStaticFetcher ()
virtual AuthzStatus Fetch (const QueryInfo &query_info, AuthzToken *authz_token, unsigned *ttl)
- Public Member Functions inherited from AuthzFetcher
virtual ~AuthzFetcher ()

Private Attributes

AuthzStatus status_
unsigned ttl_

Detailed Description

Defines the result on construction. Used in libcvmfs and for testing.

Definition at line 47 of file authz_fetch.h.

Constructor & Destructor Documentation

AuthzStaticFetcher::AuthzStaticFetcher ( AuthzStatus  s,
unsigned  ttl 

Definition at line 49 of file authz_fetch.h.

virtual AuthzStaticFetcher::~AuthzStaticFetcher ( )

Definition at line 50 of file authz_fetch.h.

Member Function Documentation

virtual AuthzStatus AuthzStaticFetcher::Fetch ( const QueryInfo query_info,
AuthzToken authz_token,
unsigned *  ttl 

Based on the given pid, uid, gid and the given membership requirement, gather credentials. Positive and negative replies have a time to live.

Implements AuthzFetcher.

Definition at line 51 of file authz_fetch.h.

Member Data Documentation

AuthzStatus AuthzStaticFetcher::status_

Definition at line 61 of file authz_fetch.h.

Referenced by Fetch().

unsigned AuthzStaticFetcher::ttl_

Definition at line 62 of file authz_fetch.h.

Referenced by Fetch().

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