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::generic_auth_object Class Reference

#include <irods_generic_auth_object.hpp>

Inheritance diagram for irods::generic_auth_object:
Collaboration diagram for irods::generic_auth_object:

Public Member Functions

 generic_auth_object (const std::string &_type, rError_t *_r_error)
 generic_auth_object (const generic_auth_object &_rhs)
virtual ~generic_auth_object ()
virtual error resolve (const std::string &_name, plugin_ptr &_plugin)
virtual bool operator== (const generic_auth_object &_rhs) const
virtual generic_auth_objectoperator= (const generic_auth_object &_rhs)
virtual error get_re_vars (rule_engine_vars_t &)
virtual int sock (void) const
virtual void sock (int s)
- Public Member Functions inherited from irods::auth_object
 auth_object (rError_t *_r_error)
 auth_object (const auth_object &)
virtual ~auth_object ()
virtual auth_objectoperator= (const auth_object &_rhs)
virtual rError_tr_error (void) const
virtual std::string request_result () const
virtual void request_result (const std::string &_r)
virtual std::string context () const
virtual void context (const std::string &_c)
virtual std::string user_name () const
virtual std::string zone_name () const
virtual void user_name (const std::string &_un)
virtual void zone_name (const std::string &_zn)
virtual bool operator== (const auth_object &_rhs) const
- Public Member Functions inherited from irods::first_class_object
 first_class_object ()
virtual ~first_class_object ()

Private Attributes

std::string type_
int sock_

Additional Inherited Members

- Protected Attributes inherited from irods::auth_object
std::string request_result_
 =-=-=-=-=-=-=- More...
std::string user_name_
std::string zone_name_
std::string context_

Detailed Description

Description:\n Auth object for generic authentication

Definition at line 15 of file irods_generic_auth_object.hpp.

Constructor & Destructor Documentation

◆ generic_auth_object() [1/2]

irods::generic_auth_object::generic_auth_object ( const std::string &  _type,
rError_t _r_error 
Description:\n Constructor

Definition at line 9 of file irods_generic_auth_object.cpp.

◆ generic_auth_object() [2/2]

irods::generic_auth_object::generic_auth_object ( const generic_auth_object _rhs)

Definition at line 18 of file irods_generic_auth_object.cpp.

◆ ~generic_auth_object()

irods::generic_auth_object::~generic_auth_object ( )

Definition at line 24 of file irods_generic_auth_object.cpp.

Member Function Documentation

◆ get_re_vars()

error irods::generic_auth_object::get_re_vars ( rule_engine_vars_t _kvp)
Description:\n serialize to key-value pairs

Implements irods::auth_object.

Definition at line 76 of file irods_generic_auth_object.cpp.

References SUCCESS.

◆ operator=()

generic_auth_object & irods::generic_auth_object::operator= ( const generic_auth_object _rhs)
Description:\n Assignment operator

Definition at line 71 of file irods_generic_auth_object.cpp.

◆ operator==()

bool irods::generic_auth_object::operator== ( const generic_auth_object _rhs) const
Description:\n Comparison operator

Definition at line 66 of file irods_generic_auth_object.cpp.

◆ resolve()

error irods::generic_auth_object::resolve ( const std::string &  _interface,
plugin_ptr _plugin 
Description:\n Plugin resolution operator

Implements irods::auth_object.

Definition at line 29 of file irods_generic_auth_object.cpp.

References irods::AUTH_INTERFACE(), irods::auth_mgr, ERROR, irods::auth_manager::init_from_type(), irods::error::ok(), PASS, ProcessType, irods::auth_manager::resolve(), SUCCESS, SYS_INVALID_INPUT_PARAM, and type_.

Here is the call graph for this function:

◆ sock() [1/2]

virtual void irods::generic_auth_object::sock ( int  s)
Description:\n set the socket number

Definition at line 39 of file irods_generic_auth_object.hpp.

References sock_.

◆ sock() [2/2]

virtual int irods::generic_auth_object::sock ( void  ) const
Description:\n get the socket number

Definition at line 34 of file irods_generic_auth_object.hpp.

References sock_.

Member Data Documentation

◆ sock_

int irods::generic_auth_object::sock_

Definition at line 46 of file irods_generic_auth_object.hpp.

Referenced by sock().

◆ type_

std::string irods::generic_auth_object::type_

Definition at line 45 of file irods_generic_auth_object.hpp.

Referenced by resolve().

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