Issue Details (XML | Word | Printable)

Key: DIRSERVER-341
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Alex Karasulu
Reporter: Enrique Rodriguez
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Directory ApacheDS

SearchResult.getObject() does not return a Java object

Created: 22/Oct/05 02:48 PM   Updated: 15/Feb/09 01:31 PM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Resolution Date: 25/Oct/05 03:03 PM


 Description  « Hide
The JNDI service provider API states that Java objects will be created from the Directory with the following methods:
o Context.lookup()
o Context.lookupLink()
o Binding.getObject()
o SearchResult.getObject()

However, only Context.lookup() appears to be implemented. This issue is for the SearchResult.getObject() implementation since SearchResult is most often used, as it is returned by DirContext.search() in the NamingEnumeration.


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Alex Karasulu made changes - 25/Oct/05 04:10 AM
Field Original Value New Value
Fix Version/s 0.9.3 [ 12310193 ]
Repository Revision Date User Message
ASF #328266 Tue Oct 25 06:02:10 UTC 2005 akarasulu changes ...

 o added ability to invoke naming manager to populate the object in a
   SearchResult using the object factories in the env of the context
 o each prefetched entry has its object generated for it if a valid
   object factory exists
 o this fixes DIREVE-279 here: http://issues.apache.org/jira/browse/DIREVE-279
Files Changed
MODIFY /directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/enumeration/SearchResultFilteringEnumeration.java

Alex Karasulu added a comment - 25/Oct/05 03:03 PM
Committed fix on revision 328266 here:

http://svn.apache.org/viewcvs.cgi?view=rev&rev=328266

Alex Karasulu made changes - 25/Oct/05 03:03 PM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Alex Karasulu made changes - 10/Feb/06 12:34 PM
Component/s jndi-provider [ 11088 ]
Fix Version/s 0.9.3 [ 12310193 ]
Key DIREVE-279 DIRSERVER-341
Project Directory Server [ 10516 ] Directory ApacheDS [ 12310260 ]
Emmanuel Lecharny added a comment - 15/Feb/09 01:31 PM
closed

Emmanuel Lecharny made changes - 15/Feb/09 01:31 PM
Status Resolved [ 5 ] Closed [ 6 ]