Finding out what authentication was used for the connected session

From: Bastiaan Olij <bastiaan(at)basenlily(dot)me>
To: pgsql Novice <pgsql-novice(at)postgresql(dot)org>
Subject: Finding out what authentication was used for the connected session
Date: 2012-05-08 02:40:42
Message-ID: 4FA887AA.8040901@basenlily.me
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Is there a way to select what authentication was applied when the user
connects to the database? We've recently added LDAP authentication for
our application and I want to detect if a user has been authenticated
through LDAP or through MD5.

Cheers,

Bastiaan Olij

Browse pgsql-novice by date

  From Date Subject
Next Message John W. Kitz 2012-05-10 10:54:39 Geometric data type for an arc.
Previous Message Caio Boiteux 2012-05-07 21:24:31 Re: problem with streaming replication