• 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
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

OSUser, commons-logging, and other questions

 
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,

We've recently started using Jforum internally and we've done some work to integrate our separate user authentication systems into JForum using some of the informatin provided in the boards here for external login verification.

One of the next steps were thinking of taking is to use something like OSUser to abstract away the notion of the login into a separately manageable entity. We were wondering if anyone in the user community has done something like this, and if so, what the benefits and pitfalls were.

Otherwise, if we are to embark down this road ourselves, how useful would this be to JForum to be able to do this?

The other question I have is just a small issue. JForum seems reliant on log4j and I was wondering if it was possible to move to jakarta commons-logging instead of using log4j directly. Commons-logging provides a facade into a number of popular logging systems, so it can work with a larger number of providers. Additionally, commons-logging defaults to using log4j as the default provider, so it should be seamless for all users.

This is something we would definitely be interested in doing, as it would let us use the default codebase instead of constantly getting latest and applying a series of horrific patches.

Please let us know your thoughts

Thanks,
-a
[originally posted on jforum.net by cilquirm]
 
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,

In my opinion, OSUser will add unecessary complexity. I mean, the work which OSUser wants to abstract is the work you can do with just some interfaces.

Please take a look at https://jforum.dev.java.net/source/browse/jforum/src/net/jforum/drivers/external/ and tell me what you think. Of course this "LoginAuthenticator" idea is kinda raw yet, but we can go to something like that.

On commons-logging: it's ok for me, but I personally can't work on that now. If you want to contribute, it will be welcome

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
Hello,

Thanks for your quick response.

We actually implemented a solution similar to the external authentication, and the biggest problem is that it requires some tricky code ( or constant synchronization ) to work.

The biggest issue for us is that it 'fakes' the initial login by "pushing" the user into the jforum database.

I was thinking of using OSUser more for the complete management of the user, instead of just login. i.e. out of the box, it can work just as exactly as jforum works now, by storing the user/group information directly into the databases, but can be extended/modified by third parties to get user/group information from external data sources.


But this may be worth a longer term discussion into the future.

As for commons-logging, would you like us to do this from the 2.02 release or from CVS. We'll get started on it ASAP.

Thanks again,

-a
[originally posted on jforum.net by cilquirm]
 
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
CVS version is preferrable ( although its may not work 100% for you ).

Sending me the diffs is just fine when you're finished.

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
About OSUser, if possible, please tell your experiencies with it and the real benefits over other implementation.

I'm not against using it, but should be very well justified.

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
Actually, the issue has been rendered moot by the fact that it seems OSUser is falling off the map..

It's no longer available from http://www.opensymphony.com/osuser/


so i guess that answers that.

I still believe the need is there for a configurable user authentication and property management system

but i'll make my case in another post.

-c
[originally posted on jforum.net by cilquirm]
 
Their achilles heel is the noogie! Give them noogies tiny ad!
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic