Migration Solutions for ColdFusion Applications to ASP.NET
      
New Atlanta Product Forums Profile | Search | Login | RSS
New Topic Reply   Previous Page  Page: 1   Next Page

Thread: Servlet Exec LDAP Integration?
Created on: 08/06/09 01:57 PM Replies: 3
steve


Joined: 08/06/09
Posts: 2
Servlet Exec LDAP Integration?
08/06/09 1:57 PM

Does Servlet Exec support integration with LDAP (in this case Active Directory)? I want to use Active Directory users and groups rather then users and roles create through the Servlet Exec Admin console, but I have been unable to find anything about LDAP in the product documentation.

Any info, documentation, or steps to set up Servlet Exec with LDAP would be most helpful.

Thanks,

Steve
Link | Top | Bottom
mattm


Joined: 10/10/07
Posts: 266
RE: Servlet Exec LDAP Integration?
08/07/09 10:27 AM

Currently (SE 6.0) the user & group mechanism provided by the SE admin UI is not "pluggable" with other user/group stores.

The best (i.e. most portable) way to do what you are describing would be to write your own authentication code that:

1. challenges the client to login
2. tests the provided username/password combo against whatever "store" you desire.
3. Allows or denies access to the requested resource.

You could even put such code into a servlet Filter that is mapped to specific aliases you wish to protect.
That way the protected aliases would be defined "declaratively" in a standard web.xml file.

The exampleWebApp which comes with ServletExec includes a simple example of a Filter that performs BASIC authentication.

I hope that helps.

Matt
Matt McGinty, New Atlanta Technical Support
Link | Top | Bottom
mattm


Joined: 10/10/07
Posts: 266
RE: Servlet Exec LDAP Integration?
08/07/09 12:29 PM

I should add that there are Java solutions for interacting with an LDAP Server.
A quick google search I just did yielded;

http://www.openldap.org/jldap/

http://java.sun.com/products/jndi/tutorial/ldap/index.html

It would be very straightforward to snap a working java LDAP solution into your webapp in a standard manner via a Servlet Filter, Servlet Listener, or even using a controller Servlet (as in MVC).

:-)

Matt
Matt McGinty, New Atlanta Technical Support
Link | Top | Bottom
steve


Joined: 08/06/09
Posts: 2
RE: Servlet Exec LDAP Integration?
08/07/09 12:35 PM

Thank you Matt for the information. This fully answers my question.

Steve
Link | Top | Bottom

New Post
Please login to post a response.


company media information terms of use privacy policy contact us
This page was dynamically built on the BlueDragon CFML Engine