• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

LDAP Integration

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yeap. So you can read http://www.jforum.net/confluence/display/sso/Home and try to implement a LDAP adapter. What do you think?

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
LDAP with JForum is cool feature right.
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How about a CAS adapter: http://jasigch.princeton.edu:9000/display/CAS ?


[originally posted on jforum.net by prophecy]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

prophecy wrote:How about a CAS adapter: http://jasigch.princeton.edu:9000/display/CAS ?



Use the source luke... My forum's source that is
http://sourceforge.net/projects/mortiforo
[originally posted on jforum.net by fjleon]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

fjleon wrote:
Use the source luke... My forum's source that is
http://sourceforge.net/projects/mortiforo



LOL

I did a quick read in your code. Interesting. The previous aproach I looked over was using the java classes from the OpenLDAP project. But the hard part for me is that I don't have access to any ldap server :?

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I had a similar problem not that long ago and what I do was to install the small openldap server and create a small test instance myself. Then I got busy with another project, and had to put this topic on standby, but I managed to install the server and run it.

It might be woth trying.


[originally posted on jforum.net by GreenEyed]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No need to use external classes, java comes with everything you need.

Anyone requesting for ldap access should know how to get one running Myself, i don't know how to properly configure one, but connecting to one is very easy, and my modular implementation allows me to use any authentication method transparently.

The implementation is so easy that it's almost laughable. That's the whole basis of my thesis and it was done in like 30 minutes. I would have based my thesis on jforum, but unfortunately your database scheme is really lacking, like i explained in other posts.
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here's a quite crude example of a LDAP authentication

Enjoy!


[originally posted on jforum.net by joacimb]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I already implemented the LDAP integration, based on the ideas by Francisco Javier (the fellow of some previous messages

The source is at

https://jforum.dev.java.net/source/browse/*checkout*/jforum/src/net/jforum/sso/LDAPAuthenticator.java

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Lol, I missed that one! ops:

It looks beautiful!


[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Any clear direction on steps involved in using this class to integrate the LDAP with JForum 2.1.4 version? I am guessing just this class won't be enough. In my installed directory, I don't see net.jforum.dao package...
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If I'm not mistaken, this is for the upcoming release 2.1.5, available through CVS, so not doable with version 2.1.4.
[originally posted on jforum.net by GreenEyed]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That's right. Version 2.1.4 does not support ldap

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
So is there a way around that in 2.1.4? We have a LDAPAuthentication classes that abstract variety of different LDAP authentication engines (OpenLDAP, Active Directory) developed and used extensively in our other applications. It would be nice to use it if I can make it work for 2.1.4 release. Can anyone advice?

Also, when is the likely release of 2.1.5?
[originally posted on jforum.net by Bharat Welingkar]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It is just the feature I am waiting for!

Is it worth using the lastest nightly in production for this feature?

Again, when will be 2.1.5?
[originally posted on jforum.net by alexieong]
 
Could you hold this puppy for a sec? I need to adjust this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic