Hi,
I've just set up a LDAP directory with CPSLDAPSetup (great work). My
problem is that my company wants me to use a web service to fetch user
information and authenticate. So I must make my own
WebServiceBackingDirectory which is quite the same as the CPSLDAPDirectory.
My problem is that i found tutorials on how to add content products, simple
products but i didn't find how to add custom directory.
Here is the init.py that I did by copying the one found in CPSDirectory....
=======================================================
"""IUADirectory init.
This directory connect to the IUA Web Service
"""
import sys
import_errors = [] # Hold the tracebacks for failed imports.
from Products.CPSDirectory.DirectoryTool import DirectoryTypeRegistry
from IUABackingDirectory import IUABackingDirectory
def initialize(registrar):
DirectoryTypeRegistry.register(IUABackingDirectory)
=======================================================
Despite of this, my directory is no useable in portal_directories.
Thx for any help
Damien METZLER
This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nuxeo.com/pipermail/cps-devel/attachments/20060419/8662adb2/attachment.html
Hosting: Nuxeo: Zope service provider