mdarifmustafa / vt-middleware

Automatically exported from code.google.com/p/vt-middleware
0 stars 0 forks source link

vt-ldap: add new interface to support complex search result handlers #67

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
More complex search result handlers like RecursiveSearchResultHandler
require access to the Ldap object that performed the search.
Provide an interface to expose setter/getter for the Ldap object.
Update the Ldap object to auto-wire itself to any handlers which implement
this interface.

Original issue reported on code.google.com by dfis...@gmail.com on 11 Mar 2010 at 7:46

GoogleCodeExporter commented 8 years ago
Added ExtendedSearchResultHandler and ExtendedAttributeHandler interfaces.
Updated RecursiveSearchResultHandler to implement ExtendedSearchResultHandler.
Updated RecursiveAttributeHandler to implement ExtendedAttributeHandler.
Updated Ldap to auto-wire handlers that implements these new interfaces.
Updated RecursiveSearchResultHandler and RecursiveAttributeHandler to provide
getters/setters.

Fixed in r1202.

Original comment by dfis...@gmail.com on 11 Mar 2010 at 8:07

GoogleCodeExporter commented 8 years ago
Reference to discussion:
http://groups.google.com/group/vt-middleware-users/browse_thread/thread/47729773
60d7ce98

Original comment by dfis...@gmail.com on 11 Mar 2010 at 8:13

GoogleCodeExporter commented 8 years ago
Updated the property invoker implementation to accept arbitrary nested 
properties for
specially formatted properties.

For instance:
searchResultHandlers=edu.vt.middleware.ldap.handler.RecursiveSearchResultHandler
{{searchAttribute=member}{mergeAttributes=cn,uid}}

Can now be used to create a new RecursiveSearchResultHandler will the bracketed
properties initialized.
The CredentialConfigParser was also refactored to support this string format for
consistency.

Fixed in r1239.

Original comment by dfis...@gmail.com on 12 Apr 2010 at 7:50