Forums / Suggestions / Openid Compatible Login

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

eZ debug

Timing: Jan 15 2025 06:48:09
Script start
Timing: Jan 15 2025 06:48:09
Module start 'content'
Timing: Jan 15 2025 06:48:10
Module end 'content'
Timing: Jan 15 2025 06:48:10
Script end

Main resources:

Total runtime0.9822 sec
Peak memory usage6,144.0000 KB
Database Queries190

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 684.1406214.8047
Module start 'content' 0.00580.8083 898.94531,835.7813
Module end 'content' 0.81410.1681 2,734.7266636.9922
Script end 0.9821  3,371.7188 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00730.7468210.0003
Check MTime0.00160.1627210.0001
Mysql Total
Database connection0.00070.066710.0007
Mysqli_queries0.880189.60981900.0046
Looping result0.00180.18471870.0000
Template Total0.956397.420.4782
Template load0.00400.405820.0020
Template processing0.952396.960320.4762
Template load and register function0.00110.110110.0011
states
state_id_array0.00130.127710.0013
state_identifier_array0.00090.093620.0005
Override
Cache load0.00370.3790360.0001
Sytem overhead
Fetch class attribute can translate value0.00140.144830.0005
Fetch class attribute name0.00210.215360.0004
XML
Image XML parsing0.00130.133130.0004
class_abstraction
Instantiating content class attribute0.00000.001880.0000
General
dbfile0.00090.0868280.0000
String conversion0.00000.000830.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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