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

#include <irods_auth_manager.hpp>

Collaboration diagram for irods::auth_manager:
[legend]

Public Member Functions

 auth_manager ()
 
 auth_manager (const auth_manager &_rhs)
 
virtual ~auth_manager ()
 
error resolve (const std::string &_key, auth_ptr &_value)
 
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)
 

Private Attributes

lookup_table< auth_ptrplugins_
 

Detailed Description

Description:\n Class which manages the lifetime of auth plugins

Definition at line 15 of file irods_auth_manager.hpp.

Constructor & Destructor Documentation

◆ auth_manager() [1/2]

irods::auth_manager::auth_manager ( void  )
Description:\n Constructor

Definition at line 9 of file irods_auth_manager.cpp.

◆ auth_manager() [2/2]

irods::auth_manager::auth_manager ( const auth_manager _rhs)
Description:\n Copy constructor

Definition at line 13 of file irods_auth_manager.cpp.

References plugins_.

◆ ~auth_manager()

irods::auth_manager::~auth_manager ( )
virtual

Definition at line 18 of file irods_auth_manager.cpp.

Member Function Documentation

◆ init_from_type()

error irods::auth_manager::init_from_type ( const int _proc_type,
const std::string &  _type,
const std::string &  _key,
const std::string &  _inst,
const std::string &  _ctx,
auth_ptr _rtn_auth 
)
Description:\n Load up a plugin corresponding to the specified type.

Definition at line 65 of file irods_auth_manager.cpp.

References ASSERT_PASS, CLIENT_PT, irods::load_auth_plugin(), plugins_, SUCCESS, and type.

Referenced by irods::native_auth_object::resolve(), irods::osauth_auth_object::resolve(), irods::pam_auth_object::resolve(), irods::generic_auth_object::resolve(), irods::gsi_auth_object::resolve(), and irods::krb_auth_object::resolve().

Here is the call graph for this function:

◆ resolve()

error irods::auth_manager::resolve ( const std::string &  _key,
auth_ptr _value 
)
Description:\n undocumented

Definition at line 22 of file irods_auth_manager.cpp.

References ASSERT_ERROR, irods::lookup_table< ValueType, KeyType, HashType >::has_entry(), plugins_, SUCCESS, and SYS_INVALID_INPUT_PARAM.

Referenced by irods::native_auth_object::resolve(), irods::osauth_auth_object::resolve(), irods::pam_auth_object::resolve(), irods::generic_auth_object::resolve(), irods::gsi_auth_object::resolve(), and irods::krb_auth_object::resolve().

Here is the call graph for this function:

Member Data Documentation

◆ plugins_

lookup_table<auth_ptr> irods::auth_manager::plugins_
private

Definition at line 39 of file irods_auth_manager.hpp.

Referenced by auth_manager(), init_from_type(), and resolve().


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