My Own Login Handler

Author Message

Shurbann Martes

Friday 02 January 2004 6:57:48 am

Hello eZ,

Right now I'm using eZ to manage the content of my intranet. But I dont want it to control/manage myusers, therefor I want to use another DB.

I was reading throug the manual and bump into this: "How to make your own handler"

Am I looking at the right place?

And what does the manual means with ".....defines setting for your handler ( user placement, attribute match between eZ publish and external server, etc.)...."

I mean how can I define a setting (for example the DB name) in the .ini file and using this also in the Handler?

Regards,
-Shurbann

Marco Zinn

Friday 02 January 2004 9:48:59 am

I think, you are at the right place.
I think, you should look at the text-handler (test it first) and probably use this as a base for your own handler.
As you see in http://ez.no/developer/ez_publish_3/documentation/configuration/configuration/login_handler/using_text_file , the text handler also reads values from the .ini files.
Of course, for accessing your own Databases (with your user data), you must write your own code.

Marco
http://www.hyperroad-design.com

Shurbann Martes

Sunday 04 January 2004 9:52:48 am

OMG, I never realised at when I started this, that making my own loginhandler will be so hard.

Anyone some experience with this? Hope we can share some knowledge on this?

-Shurbann

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 19 2025 04:30:12
Script start
Timing: Jan 19 2025 04:30:12
Module start 'layout'
Timing: Jan 19 2025 04:30:12
Module start 'content'
Timing: Jan 19 2025 04:30:13
Module end 'content'
Timing: Jan 19 2025 04:30:13
Script end

Main resources:

Total runtime0.9226 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 589.0547152.6094
Module start 'layout' 0.00530.0031 741.664139.4141
Module start 'content' 0.00840.9127 781.0781531.5703
Module end 'content' 0.92110.0014 1,312.64848.1875
Script end 0.9225  1,320.8359 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3604160.0002
Check MTime0.00130.1439160.0001
Mysql Total
Database connection0.00080.088410.0008
Mysqli_queries0.874994.8308570.0153
Looping result0.00050.0584550.0000
Template Total0.892996.820.4464
Template load0.00210.228420.0011
Template processing0.890796.549220.4454
Template load and register function0.00020.018010.0002
states
state_id_array0.00110.118110.0011
state_identifier_array0.00080.084020.0004
Override
Cache load0.00170.1797210.0001
Sytem overhead
Fetch class attribute can translate value0.00070.074220.0003
Fetch class attribute name0.00100.112140.0003
XML
Image XML parsing0.00060.064420.0003
class_abstraction
Instantiating content class attribute0.00000.000940.0000
General
dbfile0.00080.0859160.0000
String conversion0.00000.001240.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs