Back to index

nordugrid-arc-nox  1.1.0~rc6
Public Member Functions | Private Attributes
ArcSec::LocalMapPool Class Reference
Inheritance diagram for ArcSec::LocalMapPool:
Inheritance graph
Collaboration diagram for ArcSec::LocalMapPool:
Collaboration graph

List of all members.

Public Member Functions

 LocalMapPool (const std::string &dir)
virtual ~LocalMapPool (void)
virtual std::string ID (Arc::Message *msg)

Private Attributes

std::string dir_

Detailed Description

Definition at line 41 of file IdentityMap.cpp.

Constructor & Destructor Documentation

ArcSec::LocalMapPool::LocalMapPool ( const std::string &  dir)

Definition at line 50 of file IdentityMap.cpp.

                                              :dir_(dir) {

Definition at line 53 of file IdentityMap.cpp.


Member Function Documentation

std::string ArcSec::LocalMapPool::ID ( Arc::Message msg) [virtual]

Implements ArcSec::LocalMap.

Definition at line 56 of file IdentityMap.cpp.

  // Get user Grid identity.
  // So far only DN from TLS is supported.
  std::string dn = msg->Attributes()->get("TLS:IDENTITYDN");
  if(dn.empty()) return "";
  SimpleMap pool(dir_);
  if(!pool) return "";

Here is the call graph for this function:

Member Data Documentation

std::string ArcSec::LocalMapPool::dir_ [private]

Definition at line 43 of file IdentityMap.cpp.

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