grant-authentication-examples.md
-
Associate
v_ldap
authentication with userjsmith
:=> GRANT AUTHENTICATION v_ldap TO jsmith;
-
Associate
v_gss
authentication to the roleDBprogrammer
:=> CREATE ROLE DBprogrammer; => GRANT AUTHENTICATION v_gss TO DBprogrammer;
-
Associate client authentication method
v_localpwd
with rolePUBLIC
, which is assigned by default to all users:=> GRANT AUTHENTICATION v_localpwd TO PUBLIC;