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.
![]() ![]() |
#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>
Go to the source code of this file.
Functions | |
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) |
Variables | |
static char | prevChallengeSignatureClient [200] |
=-=-=-=-=-=-=-
Definition at line 222 of file clientLogin.cpp.
References irods::AUTH_CLIENT_AUTH_REQUEST(), irods::AUTH_CLIENT_AUTH_RESPONSE(), irods::AUTH_CLIENT_START(), irods::AUTH_ESTABLISH_CONTEXT(), irods::auth_factory(), irods::AUTH_INTERFACE(), irods::AUTH_NATIVE_SCHEME(), irods::AUTH_PAM_SCHEME(), irods::CFG_IRODS_AUTHENTICATION_SCHEME_KW(), CLIENT_PT, irods::error::code(), getRodsEnv(), irods::log(), rcComm_t::loggedIn, NULL, irods::error::ok(), PASS, printError(), ProcessType, rcComm_t::rError, irods::error::result(), rodsEnv::rodsAuthScheme, SYS_INVALID_INPUT_PARAM, irods::to_env(), and irods::transform().
Referenced by _readXMsg(), _writeXMsg(), irods::connection_pool::create_connection(), irods::server_control_executor::get_resource_host_names(), msi_update_unixfilesystem_resource_free_space(), msiXmsgServerConnect(), rcReconnect(), and svrToSvrConnect().
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.
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.
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.
char* getSessionSignatureClientside | ( | ) |
Definition at line 44 of file clientLogin.cpp.
References prevChallengeSignatureClient.
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().
void setSessionSignatureClientside | ( | char * | _sig | ) |
Definition at line 48 of file clientLogin.cpp.
References prevChallengeSignatureClient.
Referenced by clientLoginWithPassword(), native_auth_establish_context(), and osauth_auth_establish_context().
|
static |
Definition at line 42 of file clientLogin.cpp.
Referenced by getSessionSignatureClientside(), and setSessionSignatureClientside().