File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JForum and the fly likes Regarding LDAP Authentication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JForum
Bookmark "Regarding LDAP Authentication" Watch "Regarding LDAP Authentication" New topic
Author

Regarding LDAP Authentication

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hi

I am trying to integrate LDAP Authentication with JForum. There is one Problem....I would like to attach a sample entry for a user on a LDAP Server, so that you could have a better understanding of what my problem is:

ldap.login.suffix=ou=Guindy,ou=Chennai,ou=India,ou=mycompany,dc=mycompany,dc=com

The above is one sample entry for me in our LDAP server....So if I use this entry for the ldap.login.suffix, then JForum is allowing me to enter the forum..

Now the Problem...

Since our Company is present in many places, other users would have different entries depending on their locations, for example, one of my friends has an entry,

=ou=ec,ou=bangalore,ou=India,ou=mycompany,dc=mycompany,dc=com


So how to make JForum check through all the entries to validate an user...

I hope you got the problem


[originally posted on jforum.net by aravindh.varadharaju]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
How to expect it to work? Allowing many ldap.login.sufix entries?

Rafael
[originally posted on jforum.net by Rafael Steil]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hi

We in other applications use a Java code which does looking into all the entries and authenticate against one of them....Is there any possibility to tweak the code to do the same with JForum....
[originally posted on jforum.net by aravindh.varadharaju]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Yes, it is. Take a look at the LDAPAuthenticator.java class

Let us know the results.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Regarding LDAP Authentication