JavaScript for LDAP - Please help

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2011 05:19 AM
Hi All,
In my system I need to query in LDAP using server side javascript.
I am new to alfresco share and in my system the client wants the search operation while site invite should be done on LDAP instead of alfresco users.
When i have done some R&D I came to know that the call is done by one server side javascript.
Please help me, how can i find users in LDAP using javascript. :?:
Thanking you!

In my system I need to query in LDAP using server side javascript.
I am new to alfresco share and in my system the client wants the search operation while site invite should be done on LDAP instead of alfresco users.
When i have done some R&D I came to know that the call is done by one server side javascript.
Please help me, how can i find users in LDAP using javascript. :?:
Thanking you!
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2011 03:23 AM
You should first understand how share and alfresco work.
Alfreso is a repository and Share is just a presentation layer on top of that. Share uses Alfresco REST services to do things.
There is no javascript API to work with remote LDAP, but you can configure Alfresco to synchronize with LDAP and then search users in Alfresco which will return also synchronized LDAP users.
If you want real time LDAP search you'll have to develop java extension for Alfresco and expose that as javascript object (functions).
Look up the "baseJavaScriptExtension" and read this:
http://wiki.alfresco.com/wiki/Enterprise_Security_and_Authentication_Configuration
http://wiki.alfresco.com/wiki/LDAP-CIFS_on_Alfresco_Enterprise_v3.0.0
Alfreso is a repository and Share is just a presentation layer on top of that. Share uses Alfresco REST services to do things.
There is no javascript API to work with remote LDAP, but you can configure Alfresco to synchronize with LDAP and then search users in Alfresco which will return also synchronized LDAP users.
If you want real time LDAP search you'll have to develop java extension for Alfresco and expose that as javascript object (functions).
Look up the "baseJavaScriptExtension" and read this:
http://wiki.alfresco.com/wiki/Enterprise_Security_and_Authentication_Configuration
http://wiki.alfresco.com/wiki/LDAP-CIFS_on_Alfresco_Enterprise_v3.0.0
