Listing LDAP Users with Listing Engine
Summary
This document proposes a way to list LDAP users in Listing Engine assets and allow users to use keywords to retrieve LDAP user information.
Status: Draft
Key: draft -> approved proposal -> scheduled -> in development -> in testing -> complete -> released
Estimated Start Date: Thu, 23 Mar 2006
Estimated End Date: Thu, 23 Mar 2006
This feature is not scheduled for release
Problem Definition
Currently, listing engine can list LDAP users just like any other asset type using the standard sorting. However, there are no keywords for LDAP user attributes. Simple keywords like will work fine, but it is not possible to retrieve other information about the LDAP users (i.e. givenname). Also, custom grouping fails with attribute not found errors, because LDAP groups do not have the usual name, short_name attributes.
Listing engine should be able to list all ldap users with any asset grouping and also be able to access the user details using keywords.
Technical Specification
Changes to LDAP User
Adding the getKeywordReplacements() function to LDAP user should enable keywords for LDAP user. Using the global keywords, we should be able to access LDAP User's attributes. For example, keyword to get the "givenname" of a user should be . This will allow listing engine to get any LDAP user attributes.
getAvailableKeywords() and onRequestKeywords() functions should be added to LDAP User asset so that other assets can ask for the list of available keywords.
List of available keywords can be retrieved from the LDAP User Setup screen. However, some users may not have access to this screen therefore keywords list should be provided in the WYSIWYG.
Chnages to LDAP Group
LDAP group needs to overwrite the attr() function to handle the attributes like name, short_name, created_date, etc. These attributes are required for Grouping keywords and group sorting.
Other Shadow Assets
These changes should be applied to other shadow assets, if they are needed to be listed in listing engine.