Thursday, December 29, 2011

ldap datasource and LdapAuth componentes

So I started porting the LdapDatasource and auth components today.
So far I got hobbled together a mostly working system
https://github.com/analogrithems/idbroker/tree/dev_cake2.0 but I
notice that the datasource interface has changed a lot in this
version.

for the listSources function I see from the relational databases it
looks like it returns all the names of the tables in the database. In
Ldap you don't really have tables, you only have dn's which are kinda
like nodes/leafs. Any recommendation for what I should return here?

for the describe i'm more or less in the same boat. Should I just
return the schema definition of all the objectclass at a particular
point in the tree?

I understand that I don't technically have to implement these but what
is the consequence if I don't?


If anyone has experience working on datasources in 2.0 and would find
offering a little help, please let me know.

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: