PostgreSQL Source Code
git master
|
#include "libpq/libpq-be.h"
Go to the source code of this file.
Typedefs | |
typedef void(* | ClientAuthentication_hook_type) (Port *, int) |
typedef char *(* | auth_password_hook_typ) (char *input) |
Functions | |
void | ClientAuthentication (Port *port) |
void | sendAuthRequest (Port *port, AuthRequest areq, const char *extradata, int extralen) |
void ClientAuthentication | ( | Port * | port | ) |
Definition at line 382 of file auth.c.
References _, am_db_walsender, am_walsender, Assert, auth_failed(), auth_peer(), AUTH_REQ_GSS, AUTH_REQ_OK, AUTH_REQ_SSPI, ClientConnectionInfo::authn_id, CHECK_FOR_INTERRUPTS, CheckPasswordAuth(), CheckPWChallengeAuth(), CheckRADIUSAuth(), ClientAuthentication_hook, clientCertFull, clientCertOff, ereport, errcode(), errmsg(), FATAL, hba_authname(), hba_getauthmethod(), HOSTNAME_LOOKUP_DETAIL, ident_inet(), LOG, Log_connections, MemoryContextAllocZero(), MyClientConnectionInfo, pg_getnameinfo_all(), port, secure_loaded_verify_locations(), sendAuthRequest(), STATUS_ERROR, STATUS_OK, TopMemoryContext, uaBSD, uaCert, uaGSS, uaIdent, uaImplicitReject, uaLDAP, uaMD5, uaPAM, uaPassword, uaPeer, uaRADIUS, uaReject, uaSCRAM, uaSSPI, and uaTrust.
Referenced by PerformAuthentication().
void sendAuthRequest | ( | Port * | port, |
AuthRequest | areq, | ||
const char * | extradata, | ||
int | extralen | ||
) |
Definition at line 676 of file auth.c.
References AUTH_REQ_OK, AUTH_REQ_SASL_FIN, buf, CHECK_FOR_INTERRUPTS, pq_beginmessage(), pq_endmessage(), pq_flush, pq_sendbytes(), pq_sendint32(), and PqMsg_AuthenticationRequest.
Referenced by CheckMD5Auth(), CheckPasswordAuth(), CheckRADIUSAuth(), CheckSASLAuth(), and ClientAuthentication().
|
extern |
Definition at line 230 of file auth.c.
Referenced by _PG_init(), ClientAuthentication(), and sepgsql_init_client_label().
|
extern |
Referenced by _PG_init().
|
extern |
Definition at line 166 of file auth.c.
Referenced by secure_open_gssapi().
|
extern |
|
extern |
Definition at line 164 of file auth.c.
Referenced by secure_open_gssapi().