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

#include <irods_pam_auth_object.hpp>

Inheritance diagram for irods::pam_auth_object:
[legend]
Collaboration diagram for irods::pam_auth_object:
[legend]

Public Member Functions

 pam_auth_object (rError_t *_r_error)
 
virtual ~pam_auth_object ()
 
 pam_auth_object (const pam_auth_object &)
 
virtual pam_auth_objectoperator= (const pam_auth_object &)
 
virtual bool operator== (const pam_auth_object &) const
 
virtual error resolve (const std::string &, plugin_ptr &)
 
virtual error get_re_vars (rule_engine_vars_t &)
 
- 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 ()
 

Additional Inherited Members

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

Detailed Description

=-=-=-=-=-=-=-

Description:\n object for a native irods authenticaion sceheme

Definition at line 21 of file irods_pam_auth_object.hpp.

Constructor & Destructor Documentation

◆ pam_auth_object() [1/2]

irods::pam_auth_object::pam_auth_object ( rError_t _r_error)

=-=-=-=-=-=-=-

Description:\n Ctor

Definition at line 16 of file irods_pam_auth_object.cpp.

◆ ~pam_auth_object()

irods::pam_auth_object::~pam_auth_object ( )
virtual

Definition at line 23 of file irods_pam_auth_object.cpp.

◆ pam_auth_object() [2/2]

irods::pam_auth_object::pam_auth_object ( const pam_auth_object _rhs)

Member Function Documentation

◆ get_re_vars()

error irods::pam_auth_object::get_re_vars ( rule_engine_vars_t _kvp)
virtual

=-=-=-=-=-=-=-

Description:\n serialize object to key-value pairs

Implements irods::auth_object.

Definition at line 113 of file irods_pam_auth_object.cpp.

References SUCCESS, irods::auth_object::user_name_, and irods::auth_object::zone_name_.

◆ operator=()

pam_auth_object & irods::pam_auth_object::operator= ( const pam_auth_object _rhs)
virtual

=-=-=-=-=-=-=-

Description:\n assignment operator

Definition at line 38 of file irods_pam_auth_object.cpp.

References irods::auth_object::operator=(), irods::auth_object::user_name_, and irods::auth_object::zone_name_.

Here is the call graph for this function:

◆ operator==()

bool irods::pam_auth_object::operator== ( const pam_auth_object ) const
virtual

=-=-=-=-=-=-=-

Description:\n Comparison operator

Definition at line 48 of file irods_pam_auth_object.cpp.

◆ resolve()

error irods::pam_auth_object::resolve ( const std::string &  _interface,
plugin_ptr _ptr 
)
virtual

=-=-=-=-=-=-=-

Description:\n Plugin resolution operation

Implements irods::auth_object.

Definition at line 55 of file irods_pam_auth_object.cpp.

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

Here is the call graph for this function:

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