'ez Publish' Authentication v.s LDAP/Text one.

Author Message

Nguyen Tien Hy

Tuesday 25 April 2006 6:36:33 pm

I have a site with many siteaccesses. The siteaccess used many MySql databases.

Could I design a siteaccess as Member siteaccess that stores all 'member' users? Logging into other siteaccesses handles authentication from Member siteaccess database.

If possible, please help me some principles and some examples.

Many thanks,

Nguyen Tien Hy

Saturday 29 April 2006 1:07:55 am

Dear all,

I put the topic ''ez Publish' Authentication v.s LDAP/Text one' in the last week. But there is no repy to this topic now. I think that I presented my topic not clear.

1. I am developing a project using ez 3.7.4. My site has 3 siteaccess.
2. Siteaccess 'main' has database=db1. 'main' siteaccess stores all 'member' users of the site.
3. Siteaccess 'access2' has database=db2.
4. Siteaccess 'access3' has database=db3.
5. All users registered in siteaccess 'main', so all user data store in database 'db1'.
6. I would like to write an 'ez user format' login handler that used when login from siteaccess 'access2'/'access3'. When running, it checks authentication from db1. If true and 'no existing user in siteaccess', the loginhandler create a 'copy' user.

Could I do this? What do you think about security if using 'ez user formar loginhandler'?

If OK, please tell me some 'procedure' indications.

Many thanks,

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 11:16:19
Script start
Timing: Jan 18 2025 11:16:19
Module start 'layout'
Timing: Jan 18 2025 11:16:19
Module start 'content'
Timing: Jan 18 2025 11:16:19
Module end 'content'
Timing: Jan 18 2025 11:16:19
Script end

Main resources:

Total runtime0.5252 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0085 588.0469152.6406
Module start 'layout' 0.00850.0028 740.687539.4766
Module start 'content' 0.01140.5123 780.1641425.2422
Module end 'content' 0.52360.0015 1,205.40638.1250
Script end 0.5251  1,213.5313 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.7301160.0002
Check MTime0.00150.2880160.0001
Mysql Total
Database connection0.00220.415110.0022
Mysqli_queries0.481091.5868520.0092
Looping result0.00050.0972500.0000
Template Total0.488493.020.2442
Template load0.00220.419820.0011
Template processing0.486292.583820.2431
Template load and register function0.00020.030810.0002
states
state_id_array0.00110.201610.0011
state_identifier_array0.00090.174820.0005
Override
Cache load0.00180.3485190.0001
Sytem overhead
Fetch class attribute can translate value0.00070.133110.0007
Fetch class attribute name0.00130.245220.0006
XML
Image XML parsing0.00010.020910.0001
class_abstraction
Instantiating content class attribute0.00000.001020.0000
General
dbfile0.00070.1323100.0001
String conversion0.00000.001740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs