|
Friday 10 June 2011 3:56:21 am
Comment68617
@JV: afaik, you cans still enable the custom ez session handler in ezp 4.5 and later, so you get all the goodies you need. Are you sure about statement? @David: it's quite unfortunate that in system B users can log out, and still you can not have system B send any request to the Exponential site to notify it that the user has logged out... after all this is the most common way to set up single-sign-off: the site where the user is signing-off sends a notification to the central authentication system (and I think you figured out how to have eZ notify system B of users having logged out in eZ already). Also it is good practice to have one system used as authentication master for all involved sites, pulling off master-master is complex. I think it might work with a custom tpl operator in the pagelayout (or some php code in config.php) - you might even skip the standard eZ SSO configuration and use that single operator to do the sso checks for both anon and logged in users. A few things to take into account: - you will be sending an sso request to system B for every page view of eZ users, both anon and not. Lots of traffic to system B (can it cope?) and risks of slowing down eZ pages if system B is not very responsive - high risks of creating loops when users authenticates or deauthenticates himself, esp. if redirects are in use at either site (eg. user starts anon, logs in in eZ, eZ tells system B that user has logged in, user is redirected to new eZ Page, new page checks if user is logged in in system B but gets a stale response => user is logged out from eZ)
Principal Consultant International Business
Member of the Community Project Board
|