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_native_auth_object.hpp
Go to the documentation of this file.
1 #ifndef __NATIVE_AUTH_OBJECT_HPP__
2 #define __NATIVE_AUTH_OBJECT_HPP__
3 
4 #include "irods_error.hpp"
5 #include "irods_auth_object.hpp"
6 
7 #include "rcConnect.h"
8 
9 // =-=-=-=-=-=-=-
10 // boost includes
11 #include <boost/shared_ptr.hpp>
12 
13 namespace irods {
14 
17  const std::string AUTH_NATIVE_SCHEME( "native" );
18 
22  public:
25  native_auth_object( rError_t* _r_error );
27  virtual ~native_auth_object();
28 
32 
35  virtual bool operator==( const native_auth_object& ) const;
36 
39  virtual error resolve(
40  const std::string&, // interface for which to resolve
41  plugin_ptr& ); // ptr to resolved plugin
42 
46 
49  std::string digest() const {
50  return digest_;
51  }
52 
55  void digest( const std::string& _dd ) {
56  digest_ = _dd;
57  }
58 
59  private:
62  std::string digest_;
63 
64  }; // class native_auth_object
65 
67  typedef boost::shared_ptr<native_auth_object> native_auth_object_ptr;
68 
69 }; // namespace irods
70 
71 #endif // __NATIVE_AUTH_OBJECT_HPP__
irods::plugin_ptr
boost::shared_ptr< plugin_base > plugin_ptr
Definition: irods_first_class_object.hpp:18
irods::auth_object
Definition: irods_auth_object.hpp:16
irods::native_auth_object::native_auth_object
native_auth_object(rError_t *_r_error)
Definition: irods_native_auth_object.cpp:16
irods::native_auth_object_ptr
boost::shared_ptr< native_auth_object > native_auth_object_ptr
Definition: irods_native_auth_object.hpp:67
irods::native_auth_object
Definition: irods_native_auth_object.hpp:21
rcConnect.h
irods::AUTH_NATIVE_SCHEME
const std::string AUTH_NATIVE_SCHEME("native")
irods_auth_object.hpp
rError_t
Definition: rodsError.h:24
irods
Definition: apiHandler.hpp:35
irods::native_auth_object::resolve
virtual error resolve(const std::string &, plugin_ptr &)
Definition: irods_native_auth_object.cpp:56
irods::native_auth_object::~native_auth_object
virtual ~native_auth_object()
Definition: irods_native_auth_object.cpp:23
irods::native_auth_object::get_re_vars
virtual error get_re_vars(rule_engine_vars_t &)
Definition: irods_native_auth_object.cpp:114
irods::native_auth_object::digest
void digest(const std::string &_dd)
Definition: irods_native_auth_object.hpp:55
irods::native_auth_object::operator==
virtual bool operator==(const native_auth_object &) const
Definition: irods_native_auth_object.cpp:49
irods::error
Definition: irods_error.hpp:23
irods::native_auth_object::digest
std::string digest() const
Definition: irods_native_auth_object.hpp:49
irods::native_auth_object::operator=
virtual native_auth_object & operator=(const native_auth_object &)
Definition: irods_native_auth_object.cpp:38
irods::native_auth_object::digest_
std::string digest_
Definition: irods_native_auth_object.hpp:62
irods_error.hpp
irods::rule_engine_vars_t
std::map< std::string, std::string > rule_engine_vars_t
Definition: irods_first_class_object.hpp:20