Openid Compatible Login

Author Message

Andreas Kaiser

Tuesday 03 April 2007 4:26:35 pm

Option to give openid login would be nice. Other frameworks like ror and joomla 1.5 have or will have openid plugins.

eZ Partner in Madrid (Spain)
Web: http://www.atela.net/

Heath

Tuesday 03 April 2007 4:55:03 pm

Sounds like a feature request for an "OpenID (Compatible) Login Handler" Extension :)

<i>http://ezpedia.org/wiki/en/ez/authentication
http://ezpedia.org/wiki/en/ez/login
http://ezpedia.org/wiki/en/ez/login_handler
http://ezpedia.org/wiki/en/ez/single_sign_on</i>

There are many examples of an eZ publish login handler extension to use as an example to build your own. If you do implement this solution, please do contribute it back to the community.

hth,

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

Andreas Kaiser

Tuesday 26 June 2007 3:41:09 am

I've seen the openid login has been implemented in eZ components.

If I have time I will look to code a extension for eZ Publish, and contribute it to the community...

eZ Partner in Madrid (Spain)
Web: http://www.atela.net/

Heath

Tuesday 26 June 2007 5:29:39 am

Hello Andreas,

With the maturity of eZ Components and the inclusion of OpenID support,
an looking at the Authentication component source code.
http://svn.ez.no/svn/ezcomponents/trunk/Authentication
http://svn.ez.no/svn/ezcomponents/trunk/Authentication/src/filters/openid/
http://svn.ez.no/svn/ezcomponents/trunk/Authentication/tests/filters/openid/

I wonder how much source code could be modified to meet your needs today
within eZ Publish or an eZ Publish extension?

I've heard of others speaking about using eZ Components and the PHP5 Port
to create eZ Publish (PHP5 Port) extensions which use an eZ component.

Re: eZ components through extensions,
http://ez.no/community/forum/developer/ez_components_through_extensions

Though this may not be the best approach if your needs are more short term than long term.

I wonder, is it possible to add to user authentication process without patching (re: hacking) the eZ Publish kernel? If it's not possible to avoid patching the kernel to add this support (at this time, in the short term; right now).

The next question (in my mind) is how much code duplication can be avoided by looking to existing solutions like the Authentication component; while designed for php5, I still wonder if parts could be re-factored back to php4 to meet these needs in the short term.

hth

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

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

Main resources:

Total runtime0.6302 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 587.9063152.6250
Module start 'layout' 0.00560.0031 740.531339.4453
Module start 'content' 0.00870.6197 779.9766561.7344
Module end 'content' 0.62840.0018 1,341.710916.1719
Script end 0.6302  1,357.8828 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.5882160.0002
Check MTime0.00140.2300160.0001
Mysql Total
Database connection0.00090.136010.0009
Mysqli_queries0.567490.0307600.0095
Looping result0.00060.0952580.0000
Template Total0.595794.520.2979
Template load0.00210.340620.0011
Template processing0.593694.184120.2968
Template load and register function0.00010.019010.0001
states
state_id_array0.00110.171110.0011
state_identifier_array0.00160.252620.0008
Override
Cache load0.00190.2971360.0001
Sytem overhead
Fetch class attribute can translate value0.00060.098220.0003
Fetch class attribute name0.00110.176360.0002
XML
Image XML parsing0.00260.407920.0013
class_abstraction
Instantiating content class attribute0.00000.002380.0000
General
dbfile0.00230.3608230.0001
String conversion0.00000.001440.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
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
5content/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: 24
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs