irods  4.2.8
About: iRODS (the integrated Rule Oriented Data System) is a distributed data-management system for creating data grids, digital libraries, persistent archives, and real-time data systems.
  Fossies Dox: irods-4.2.8.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

irods_auth_manager.hpp
Go to the documentation of this file.
1 #ifndef _AUTH_MANAGER_HPP_
2 #define _AUTH_MANAGER_HPP_
3 
4 #include "irods_error.hpp"
5 #include "irods_auth_types.hpp"
6 
7 namespace irods {
8 
10  const std::string AUTH_INTERFACE( "irods_auth_interface" );
11 
15  class auth_manager {
16  public:
18  auth_manager();
19 
21  auth_manager( const auth_manager& _rhs );
22 
23  virtual ~auth_manager();
24 
26  error resolve( const std::string& _key, auth_ptr& _value );
27 
30  const int&, // process type
31  const std::string& _type, // type
32  const std::string& _key, // key
33  const std::string& _inst, // instance name
34  const std::string& _ctx, // context
35  auth_ptr& _rtn_auth // returned plugin instance
36  );
37 
38  private:
40  };
41 
43  extern auth_manager auth_mgr;
44 
45 }; // namespace irods
46 
47 #endif // _AUTH_MANAGER_HPP_
irods::auth_manager::init_from_type
error init_from_type(const int &, const std::string &_type, const std::string &_key, const std::string &_inst, const std::string &_ctx, auth_ptr &_rtn_auth)
Definition: irods_auth_manager.cpp:65
irods::lookup_table< auth_ptr >
irods_auth_types.hpp
irods::auth_manager::plugins_
lookup_table< auth_ptr > plugins_
Definition: irods_auth_manager.hpp:39
irods::auth_manager
Definition: irods_auth_manager.hpp:15
irods::AUTH_INTERFACE
const std::string AUTH_INTERFACE("irods_auth_interface")
irods::auth_manager::~auth_manager
virtual ~auth_manager()
Definition: irods_auth_manager.cpp:18
irods
Definition: apiHandler.hpp:35
irods::auth_manager::auth_manager
auth_manager()
Definition: irods_auth_manager.cpp:9
irods::auth_manager::resolve
error resolve(const std::string &_key, auth_ptr &_value)
Definition: irods_auth_manager.cpp:22
irods::error
Definition: irods_error.hpp:23
irods_error.hpp
irods::auth_mgr
auth_manager auth_mgr
Definition: irods_auth_manager.cpp:7
irods::auth_ptr
boost::shared_ptr< auth > auth_ptr
Definition: irods_auth_types.hpp:19