pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Servers24 Network <servers24@gmail.com>
To: pgsql-php@postgresql.org
Subject: Re: PgSQL and integration between 2 PHP programs and a Java program
Date: Sat, 11 Nov 2006 04:47:31 +0330
Message-ID: <7b872b430611101717s1adafc50o207f53c19d8da138@mail.gmail.com> (raw)

Hi,

First I should thank Brew and Juan for their kind helps :)

Now I have good news for you two :
CAS supports authenticating the users from a non-LDAP DB server such as
MySQL or PgSQL. This way there would be no need to implement a LDAP server
for authentication as it can simply read from my main application database
tables where it stores users information (
http://developer.ja-sig.org/projects/cas/multiproject/cas-server-jdbc/apidocs/index.html
)

So now everything seems to be OK with the first method. Also with the help
of DBI-Link I can have my main application write user information to all the
connected DBs, tables and fields.
The main application will be Liferay Portal ( www.liferay.com ). It's a Java
program and it can also be implemented using PgSQL database. I don't really
know how this DBI-Link works, but the way Juan said, maybe I can have
Liferay write user information to a PgSQL DB and have DBI-Link propagates
the data (username, password, first_name, last_name, city, state, country,
zipcode and ... ) inside Liferay's DB to all appropriate DBs.
Also I will disable ANY modification to the above mentioned fields in other
applications so that a user need to change for e.g his name in Liferay, and
then it will take effect in other applications as well.
So in this method, I will use a PgSQL server with 2 databases ( one for
DBI-Link and one for Liferay ) and a MySQL server with maybe 10 databases
for other applications. In this case, CAS will read authentication
information from Liferay DB in PgSQL.
Any comments or ideas ?!


-- 

Warm Regards,
Amir

view thread (11+ messages)  latest in thread

Message-ID: <7b872b430611101717s1adafc50o207f53c19d8da138@mail.gmail.com>
Permalink:  ../7b872b430611101717s1adafc50o207f53c19d8da138@mail.gmail.com/
Also on:    postgresql.org/message-id/7b872b430611101717s1adafc50o207f53c19d8da138@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: servers24@gmail.com
  Subject: Re: PgSQL and integration between 2 PHP programs and a Java program
  In-Reply-To: <7b872b430611101717s1adafc50o207f53c19d8da138@mail.gmail.com>
  References: <7b872b430611101717s1adafc50o207f53c19d8da138@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox