directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhang, Wayne" <wzh...@visa.com>
Subject RE: Any doc about how to use ApacheDS as a proxy
Date Mon, 10 Dec 2012 22:51:42 GMT
Actually, the backend will be OpenLDAP.

We like to embed this "proxy" into our java application. We need to intercept what received
by the proxy and make some manipulation with the data and then let it through. 

ApacheDS happen to be embeddable, in java, and also allow to intercept. Based on what it claims,
it can be separated into frontend and backend. We only need the frontend. So, it happens to
meet all what we need. I have made all other parts work but separation of the frontend. 

So, I am trying to replace the backend with our existing LDAP server. I thought about referral.
But no doc or example are found so far for the separation and setting up the referral.

Thanks.

Wayne


-----Original Message-----
From: Nick Duan [mailto:nduan@dtechspace.com] 
Sent: Monday, December 10, 2012 2:42 PM
To: users@directory.apache.org
Subject: RE: Any doc about how to use ApacheDS as a proxy

If you are not tied to Apache DS, you may want to consider OpenLDAP.  It has
the proxy function built in.   Is there specific reason/business case for
using ApacheDS as LDAP proxy?

ND

-----Original Message-----
From: Zhang, Wayne [mailto:wzhang@visa.com]
Sent: Monday, December 10, 2012 4:43 PM
To: users@directory.apache.org
Subject: RE: Any doc about how to use ApacheDS as a proxy

I really appreciate your response. 

I did add a new interceptor and I was able to intercept (actually "bind" was the one fitting
my need since I need the passwd) it. I could get all the information and change information.


But what I need is to make it flow through and eventually goes to another LDAP server for
the final processing. 

I am using 1.5.8 version and could not see the "
DelegatingAuthenticator.java" you mentioned. It seems that is in 2.0. But I want to use a
stable version and did not go 2.0. Will this still be doable in 1.5.8?

Thanks.

Wayne


-----Original Message-----
From: ayyagarikiran@gmail.com [mailto:ayyagarikiran@gmail.com] On Behalf Of Kiran Ayyagari
Sent: Monday, December 10, 2012 1:17 PM
To: users@directory.apache.org
Subject: Re: Any doc about how to use ApacheDS as a proxy

you can add a new intereceptor
take a look at the existing intereceptors and the DelegatingAuthenticator.java class in apacheds/interceptors/authn
module to see how to perform delegated authentication

On Tue, Dec 11, 2012 at 12:26 AM, Zhang, Wayne <wzhang@visa.com> wrote:

> I would like to use ApacheDS as a proxy so that I can intercept lookup 
> and make some changes. Then I would like to forward it to another LDAP
server.
> How can I configure it that way? I could not find any hints on 
> separating the frontend from the backend and use another LDAP server 
> as
the backend.
>
> Thanks.
>
> Wayne
>



--
Kiran Ayyagari
http://keydap.com


Mime
View raw message