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)  

clientLogin.cpp File Reference
#include "rcGlobalExtern.h"
#include "rodsClient.h"
#include "sslSockComm.h"
#include "irods_auth_object.hpp"
#include "irods_auth_factory.hpp"
#include "irods_auth_plugin.hpp"
#include "irods_auth_manager.hpp"
#include "irods_auth_constants.hpp"
#include "irods_native_auth_object.hpp"
#include "irods_pam_auth_object.hpp"
#include "authPluginRequest.h"
#include "irods_configuration_parser.hpp"
#include "irods_configuration_keywords.hpp"
#include "checksum.hpp"
#include "termiosUtil.hpp"
#include "irods_kvp_string_parser.hpp"
#include "irods_environment_properties.hpp"
#include <openssl/md5.h>
#include <boost/filesystem/operations.hpp>
#include <boost/filesystem/convenience.hpp>
#include <errno.h>
#include <termios.h>
Include dependency graph for clientLogin.cpp:

Go to the source code of this file.


char * getSessionSignatureClientside ()
void setSessionSignatureClientside (char *_sig)
int printError (rcComm_t *Conn, int status, char *routineName)
int clientLoginPam (rcComm_t *Conn, char *password, int ttl)
int clientLoginTTL (rcComm_t *Conn, int ttl)
int clientLogin (rcComm_t *_comm, const char *_context, const char *_scheme_override)
int clientLoginWithPassword (rcComm_t *Conn, char *password)


static char prevChallengeSignatureClient [200]

Function Documentation

◆ clientLogin()

int clientLogin ( rcComm_t _comm,
const char *  _context,
const char *  _scheme_override 

◆ clientLoginPam()

int clientLoginPam ( rcComm_t Conn,
char *  password,
int  ttl 

Definition at line 97 of file clientLogin.cpp.

References pamAuthRequestOut_t::irodsPamPassword, LOG_NOTICE, MAX_PASSWORD_LEN, NAME_LEN, NULL, obfSavePw(), pamAuthRequestInp_t::pamPassword, pamAuthRequestInp_t::pamUser, printError(), rcComm_t::proxyUser, rcPamAuthRequest(), rodsLog(), sslEnd(), sslStart(), irods.pypyodbc::status, pamAuthRequestInp_t::timeToLive, and userInfo_t::userName.

Here is the call graph for this function:

◆ clientLoginTTL()

int clientLoginTTL ( rcComm_t Conn,
int  ttl 

Definition at line 174 of file clientLogin.cpp.

References HASH_TYPE_DEFAULT, hashToStr(), MAX_PASSWORD_LEN, obfGetPw(), obfMakeOneWayHash(), obfSavePw(), printError(), rcGetLimitedPassword(), irods.pypyodbc::status, getLimitedPasswordOut_t::stringToHashWith, getLimitedPasswordInp_t::ttl, and getLimitedPasswordInp_t::unused1.

Here is the call graph for this function:

◆ clientLoginWithPassword()

int clientLoginWithPassword ( rcComm_t Conn,
char *  password 

Definition at line 348 of file clientLogin.cpp.

References authRequestOut_t::challenge, CHALLENGE_LEN, rcComm_t::loggedIn, MAX_PASSWORD_LEN, NAME_LEN, NULL, printError(), rcComm_t::proxyUser, rcAuthRequest(), rcAuthResponse(), authResponseInp_t::response, RESPONSE_LEN, userInfo_t::rodsZone, setSessionSignatureClientside(), irods.pypyodbc::status, authResponseInp_t::username, and userInfo_t::userName.

Here is the call graph for this function:

◆ getSessionSignatureClientside()

char* getSessionSignatureClientside ( )

Definition at line 44 of file clientLogin.cpp.

References prevChallengeSignatureClient.

◆ printError()

int printError ( rcComm_t Conn,
int  status,
char *  routineName 

Definition at line 74 of file clientLogin.cpp.

References rError_t::errMsg, rError_t::len, rErrMsg_t::msg, NULL, rcComm_t::rError, rodsErrorName(), and irods.pypyodbc::status.

Referenced by clientLogin(), clientLoginPam(), clientLoginTTL(), and clientLoginWithPassword().

Here is the call graph for this function:

◆ setSessionSignatureClientside()

void setSessionSignatureClientside ( char *  _sig)

Variable Documentation

◆ prevChallengeSignatureClient

char prevChallengeSignatureClient[200]

Definition at line 42 of file clientLogin.cpp.

Referenced by getSessionSignatureClientside(), and setSessionSignatureClientside().