Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

LDAP SearchControls link dereferencing  RSS feed

Kjeld Sigtermans
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am working on an application that accesses LDAP using JNDI. I noticed that the class has a method called setDerefLinkFlag(boolean on) with which link dereferencing can be enabled (true) or disabled (false).
But, when I use the ldapsearch tool by Sun instead, not two but four options for link dereferencing are provided: 'never', 'always', 'search' or 'find'.
So, I am wondering: does the class just limit us to using 'always' (true) or 'never' (false), or is there another way to be able to specify 'search' or 'find'?
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!