Re: [PHP] SSO (Single Sign On) for multiple PHP apps

2003-09-18 Thread hartmann
Hi Jean-Philippe, 

"BENARD  Jean-philippe" <[EMAIL PROTECTED]> wrote ..
> Is there a solution for this situation? We are running PHP 4.3.1/4.3.3
> over apache 1.3.27/1.3.28 on Sun systems (SunOS 5.6).
> More over, there are some apps writed in JAVA (WebSphere & IBM HTTP SRV)
> technologies which are in the same workgroup for political reason (We
> can't imagine making them in PHP ...). If the first solution exist
> (making a SSO for all PHP apps), is a second solution for PHP/JAVA SSO
> could be imagined?

We implemented something like this for Siemens based on SOAP (after wez fixed 
ext/soap). 
The first part, a single database for all user data is simple : 
a) all authentification data is hold in the session
b) authentification is done by just one server, the others are served via soap. 

The second part is a bit more complicated:
c) if you are already logged in on one server, you can switch to another server by 
clicking a special link who establishes a new session on the remote server and gives 
back a token. then the user gets redirected to a special url on the remote server - 
using the one-time-token - and he gets connected to the new session
d) if c) doesn't work: after b) the server does a redirect to the authentication 
server, the user gets a cookie there and redirected back. 
When he switches to another server, the redirect to the authentication server is done 
again, and, if a cookie exists, a session on the other server is established. 

Afaik Microsoft uses the d) workflow for passport.

Feel free to contact me by PM if you got any questions. 

best regards, 
johann
-- 
Johann-Peter Hartmannhttp://thinkphp.de

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] SSO (Single Sign On) for multiple PHP apps

2003-09-18 Thread Duncan Hill
On Thursday 18 Sep 2003 10:29, BENARD Jean-philippe wrote:
>   We have multiple PHP apps running on different servers. We have
> an LDAP authentication based (today) on the apache .htpasswd file which
> obliged users to log on. This solution is not very "clean". Because we

> More over, there are some apps writed in JAVA (WebSphere & IBM HTTP SRV)
> technologies which are in the same workgroup for political reason (We
> can't imagine making them in PHP ...). If the first solution exist

You could change to PHP sessions, and use an SQL backend to store the 
session data.  Writing a Java handler to read the PHP session data would 
not be too hard.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] SSO (Single Sign On) for multiple PHP apps

2003-09-18 Thread BENARD Jean-philippe
We have multiple PHP apps running on different servers. We have
an LDAP authentication based (today) on the apache .htpasswd file which
obliged users to log on. This solution is not very "clean". Because we
have different PHP servers (physical and logical), users must
authenticate many times in order to log on some applications of the same
"group".
Is there a solution for this situation? We are running PHP 4.3.1/4.3.3
over apache 1.3.27/1.3.28 on Sun systems (SunOS 5.6).
More over, there are some apps writed in JAVA (WebSphere & IBM HTTP SRV)
technologies which are in the same workgroup for political reason (We
can't imagine making them in PHP ...). If the first solution exist
(making a SSO for all PHP apps), is a second solution for PHP/JAVA SSO
could be imagined?

Many thanks in advance.

(o_   BENARD Jean-Philippe - Consultant STERIA Infogérance
(o_   (o_   //\ RENAULT DTSI/ODPS/[EMAIL PROTECTED] * ALO * API : MLB 02C 1 14
(/)_  (\)_  V_/_   2 Av du vieil étang * 78181 MONTIGNY-LE-BRETONNEUX
   Tél : 01-30-03-47-83 * Fax : 01-30-03-42-10

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php