Results 1 to 2 of 2

Thread: Setting returnObjFlag in FilterBasedLdapUserSearch

  1. #1
    Join Date
    Dec 2005
    Posts
    935

    Default Setting returnObjFlag in FilterBasedLdapUserSearch

    Hi,
    would it be possible to be able to set the returnObjFlag attribute of SearchControls in FilterBasedLdapUserSearch? If it can be set to true, it should get rid of this message I get (and others on the forum after doing a search):
    Code:
    The returnObjFlag of supplied SearchControls is not set but a ContextMapper is used - setting flag to true
    There was a similar request to get the derefLinkFlag attribute exposed: http://jira.springframework.org/browse/SEC-226
    Thanks
    Alan

  2. #2
    Join Date
    Dec 2005
    Posts
    935

    Default

    After some further debugging, I don't think the returnObjFlag being set to true in the FilterBasedLdapUserSearch class has any effect. Also, supplying specialised classes for the above and the DefaultLdapAuthoritiesPopulator class and setting this attribute to true and injecting them into the LdapAuthenticationProvider (the FilterBasedLdapUserSearch via the BindAuthenticator) does not seem to make a difference.
    I'll continue to look deeper, but if any one else has a solution please post

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •