Return-Path: X-Original-To: apmail-directory-users-archive@www.apache.org Delivered-To: apmail-directory-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3511711F7F for ; Wed, 6 Aug 2014 12:11:02 +0000 (UTC) Received: (qmail 92148 invoked by uid 500); 6 Aug 2014 12:11:02 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 92031 invoked by uid 500); 6 Aug 2014 12:11:01 -0000 Mailing-List: contact users-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@directory.apache.org Delivered-To: mailing list users@directory.apache.org Received: (qmail 91999 invoked by uid 99); 6 Aug 2014 12:11:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Aug 2014 12:11:00 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of er.prabhjots@gmail.com designates 209.85.215.43 as permitted sender) Received: from [209.85.215.43] (HELO mail-la0-f43.google.com) (209.85.215.43) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Aug 2014 12:10:59 +0000 Received: by mail-la0-f43.google.com with SMTP id hr17so1843457lab.2 for ; Wed, 06 Aug 2014 05:10:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=iLqiozmlTq9yhCCDKlatC8jBvURPDniFrfbCGPsbl/s=; b=fwGuL94ODhKW2q4VcNcyEXNGCNT8+j6dlcUxDd1a7lDxec/8zP2xaTYqqoJ/3V9XRK T9MiGnxIJDWFde5iU4/nihkcl80m40qUMUD2vGGDZHwQWb4WyZBuWMHnN0+B8gb33skg V/g5DJOo8eXfjt0nAk7vdbm7R3WgH4OUgsyDPC4t5yTiSGXAjwnpeapLJrxCxRzrMbAx 5wcrAahzQ/3vQmVxTpUYIOIua42NK8zYR0xgQbXZiJz8y07iLr8b3s457ezk6SzIBNiI qN7lt9u1Dokxy1+xc0KNcxkuuPJPnYJrzokKFeMMnJ/yw7k9IcHQ2pc0216b22K2Cq7i +eLA== MIME-Version: 1.0 X-Received: by 10.112.136.40 with SMTP id px8mr10088382lbb.36.1407327034415; Wed, 06 Aug 2014 05:10:34 -0700 (PDT) Received: by 10.112.12.197 with HTTP; Wed, 6 Aug 2014 05:10:34 -0700 (PDT) In-Reply-To: References: Date: Wed, 6 Aug 2014 17:40:34 +0530 Message-ID: Subject: Re: Generic LDAP client + Authentication From: prabhjot singh To: "users@directory.apache.org" Cc: api@directory.apache.org Content-Type: multipart/alternative; boundary=089e01160848f822a604fff4db01 X-Virus-Checked: Checked by ClamAV on apache.org --089e01160848f822a604fff4db01 Content-Type: text/plain; charset=UTF-8 Hey Kiran, Appreciate your response. Can you please point me on how to perform the authentication? How do I use a custom bind request (e.g. Ntlm) in order to support Active Directory e.g.. Thanks, Prabhjot On Wed, Aug 6, 2014 at 5:22 PM, Kiran Ayyagari wrote: > On Wed, Aug 6, 2014 at 4:25 PM, prabhjot singh > wrote: > > > Hi there, > > > > I've been given a task to build services which act as LDAP client across > > multiple vendors (OpenLDAP & ActiveDirectory to begin with). Basically, > > others are free to call these services with basic queries to get all > > users/groups etc. > > > > I'm looking for guidance on following points. > > > > we can help if you are stuck somewhere while trying out the code, can't > teach you how to do it. > There is source and a whole range of tests too, they should be your guiding > stars. > > > 1.) How do you recommend on implementing paging functionality? I see this > > post on SO and doesn't seem straight forward because of lack of support > > from LDAP. > > > > > http://stackoverflow.com/questions/7679556/in-net-4-0-can-directorysearch-return-ldap-results-in-a-way-that-allows-me-to > > > > 2.) I've to build an "authentication" functionality as well. This should > > also support Simple, Digest & NTLM auth schemes. What's the best way of > > going about it? I'm currently using LdapConnectionTemplate.authenticate > > < > > > http://directory.apache.org/api/gen-docs/1.0.0-M23/apidocs/org/apache/directory/ldap/client/template/LdapConnectionTemplate.html#authenticate(org.apache.directory.api.ldap.model.name.Dn > > , > > char[])>. How do I develop support for other auth mechanisms? > > > > Appreciate your help on this. > > > > -- > > Thanks, > > Prabhjot > > > > > > -- > Kiran Ayyagari > http://keydap.com > -- Thanks, Prabhjot --089e01160848f822a604fff4db01--