Webappication and PostgreSQL login roles

Поиск
Список
Период
Сортировка
Искать
От
Thorsten Kraus
Тема
Webappication and PostgreSQL login roles
Дата
Msg-id
46113D1F.1020708@gmx.de
Список
Дерево обсуждения
Re: Webappication and PostgreSQL login roles "Ben Trewern" <ben.trewern@_nospam_mowlem.com>
Hi,

I designed a Java web application. The persistence layer is a PostgreSQL 
database. The application needs user authentication.
I think it's a good choice to implement this authentication mechanism 
via PostgreSQL login roles. So I can create several database login roles 
and set the database permissions to this login roles. This is my first 
project with the postgres database, so I don't know how I can validate a 
login from the website. Is there a best practice to do this or does 
PostgreSQL offers a stored procedure like 'authenticateUser(String 
username, String password)'?

Thanks for your help.

Bye,
Thorsten
В списке pgsql-general по дате отправления
От: Tom Lane
Дата:
От: David Fetter
Дата:
FAQ