Forums / Developer / Login Handler

Login Handler

Author Message

Edward Eliot

Thursday 02 September 2004 6:41:28 am

I have been reading the eZpublish book which talks about custom login handlers. It mentions that the user needs to exist in eZpublish. Is there a way to remove this depedancy or have the user created automatically if they don't already exist. Also what is the implication on permissions when using an external authentication source. Can permissions be set externally?

Tony Wood

Thursday 02 September 2004 7:25:06 am

Hi,

You could right a script to interrogate the LDAP server and then create the user based on the information in the LDAP server.
You could then assign it role rights based on an LDAP setting.

Someone may have already written this.

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

Paul Borgermans

Thursday 02 September 2004 9:14:35 am

Hi

The ldap handler will create non-existing users, the same is true with the texthandler. I've used both (the texthandler can be used to transfer users easily from another system, sometimes with passwords)

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Edward Eliot

Friday 03 September 2004 6:29:00 am

Thanks Paul,

Can one assign permissions the users will be created with?

Ed.