Plugging in external authentication

Author Message

Sébastien Braun

Friday 09 March 2007 7:57:48 am

Hello all,

I wonder if it is possible to plug external authentication into ez. What I mean is that I want to implement a single-sign-on system. I can keep the user/role management of ezPublish, I just want to defer the actual password checking to own code.

Is this possible at all?

What would it take to implement it?

Thanks in advance,
Sébastien Braun

Kristian Hole

Friday 09 March 2007 8:49:45 am

Yes.

More information here:
http://ez.no/doc/ez_publish/technical_manual/3_6/reference/configuration_files/site_ini/usersettings/loginhandler
http://ezpedia.org/wiki/en/ez/login_handler

Kristian

http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute

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:40:04
Script start
Timing: Jan 18 2025 11:40:04
Module start 'layout'
Timing: Jan 18 2025 11:40:04
Module start 'content'
Timing: Jan 18 2025 11:40:05
Module end 'content'
Timing: Jan 18 2025 11:40:05
Script end

Main resources:

Total runtime1.0841 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0073 587.9141152.6250
Module start 'layout' 0.00730.0029 740.539139.4609
Module start 'content' 0.01011.0724 780.0000520.7500
Module end 'content' 1.08250.0015 1,300.75008.1563
Script end 1.0840  1,308.9063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.3470160.0002
Check MTime0.00160.1495160.0001
Mysql Total
Database connection0.00100.095910.0010
Mysqli_queries1.032895.2744540.0191
Looping result0.00060.0569520.0000
Template Total1.048596.720.5243
Template load0.00350.326920.0018
Template processing1.045096.394020.5225
Template load and register function0.00020.020410.0002
states
state_id_array0.00100.093410.0010
state_identifier_array0.00080.070620.0004
Override
Cache load0.00280.2542150.0002
Sytem overhead
Fetch class attribute can translate value0.00130.117120.0006
Fetch class attribute name0.00090.084930.0003
XML
Image XML parsing0.00080.074020.0004
class_abstraction
Instantiating content class attribute0.00000.000730.0000
General
dbfile0.00080.0711160.0000
String conversion0.00000.000740.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
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: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs