Return-Path: X-Original-To: apmail-directory-dev-archive@www.apache.org Delivered-To: apmail-directory-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D0FE717420 for ; Mon, 27 Oct 2014 21:19:33 +0000 (UTC) Received: (qmail 47376 invoked by uid 500); 27 Oct 2014 21:19:33 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 47331 invoked by uid 500); 27 Oct 2014 21:19:33 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 47321 invoked by uid 99); 27 Oct 2014 21:19:33 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Oct 2014 21:19:33 +0000 Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id BACF11A02FC for ; Mon, 27 Oct 2014 21:18:59 +0000 (UTC) Received: by mail-wi0-f182.google.com with SMTP id d1so4126720wiv.15 for ; Mon, 27 Oct 2014 14:19:30 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.194.216.162 with SMTP id or2mr24966555wjc.68.1414444770022; Mon, 27 Oct 2014 14:19:30 -0700 (PDT) Received: by 10.216.171.131 with HTTP; Mon, 27 Oct 2014 14:19:29 -0700 (PDT) In-Reply-To: References: Date: Tue, 28 Oct 2014 05:19:29 +0800 Message-ID: Subject: Re: Interceptors help From: Kiran Ayyagari To: Apache Directory Developers List Content-Type: multipart/alternative; boundary=001a11c1b66a12630005066e16e1 --001a11c1b66a12630005066e16e1 Content-Type: text/plain; charset=UTF-8 On Mon, Oct 27, 2014 at 10:21 PM, Paul Simpkins wrote: > Hi all, > I'm new to ApacheDS and have been asked to set up a solution. Part fo the > solution will require us to setup an interceptor so that we can > authenticate a sub set of legacy users within a Database. > you need to implement an authenticator rather than an interceptor in this case > So for the moment I'm trying to experiment and see how to implement such a > solution. > The problem I'm hitting is that the documentation that I can find is for > an earlier version of DS and not 2.0. > Ideally I'd like to get the example found here up and working. > > > https://cwiki.apache.org/confluence/display/DIRxSRVx11/6.2.+Implementing+a+simple+custom+Interceptor > > Alternatively just some general advice in this area would help. > > take a look at the several types of authenticators available here[1] and you can model yours based on DelegatingAuthenticator [1] http://svn.apache.org/repos/asf/directory/apacheds/trunk/interceptors/authn/src/main/java/org/apache/directory/server/core/authn/ > Many thanks > Paul > -- Kiran Ayyagari http://keydap.com --001a11c1b66a12630005066e16e1 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Mon, Oct 27, 2014 at 10:21 PM, Paul Simpkins <<= a href=3D"mailto:simpkins112@googlemail.com" target=3D"_blank">simpkins112@= googlemail.com> wrote:
Hi all,
I'm new to ApacheDS and hav= e been asked to set up a solution. Part fo the solution will require us to = setup an interceptor so that we can authenticate a sub set of legacy users = within a Database.=C2=A0
you need to implement= an authenticator rather than an interceptor in this case
So for the mome= nt I'm trying to experiment and see how to implement such a solution.
The problem I'm hitting is that the documentation that I can f= ind is for an earlier version of DS and not 2.0.=C2=A0
Ideally I&= #39;d like to get the example found here up and working.
=
take a look at the several types of authenticators available here[1] a= nd you can model yours
based on DelegatingAuthenticator
[1] http://svn.apac= he.org/repos/asf/directory/apacheds/trunk/interceptors/authn/src/main/java/= org/apache/directory/server/core/authn/
Many thanks
Paul=C2=A0



--
Kiran Ayyagari
http://keydap.com
--001a11c1b66a12630005066e16e1--