This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JNDI: Setting/Retrieving Parameters

 
Annette Sovereign
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm trying to do a search that would return results for more than one person in a directory instead of having to make a call for each person on the list.

I am using search(Name name, String filter, SearchControls cons)
and setting the filter to userId=foo,userId=bar but getting nothing back. I'm not sure if this is valid or if I'm using an invalid seperator or worse still using the wrong method.

I'm new to JNDI so please bear with me .

Any pointers would be appreciated.
 
Shailesh Kini
Ranch Hand
Posts: 153
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Annette,

JNDI is definitely a little complicated and I would recommend you to read a lil tutorial from sun to understand the basics. Here's the link -> Directory Search.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic