my dog learned polymorphism*
The moose likes JForum and the fly likes Integration with Roller Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "Integration with Roller" Watch "Integration with Roller" New topic

Integration with Roller

Migrated From
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Has anyone integrated JForum with Apache Roller 4?

If so, do you have any gotchas etc?

I have been trying to get Roller integrated with Acegi CAS with a view to using CAS to provide SSO for JForum as well, but haven't managed to get this working, so I'm going back to the drawing board and looking to roll my own integration...
[originally posted on by StuBramley]
Migrated From
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
I have the exact same issue.
It would be great if there was a HOW-TO or at least any documentation.
[originally posted on by paranoiabla]
Migrated From
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
I haven't done any CAS programming but I looked at it for a project a while back (3-4 years). I seemed to remember that it was a filter and web.xml defined roles based system.

As far as authentication, you might be able to just add the CAS filter and then define a whole webapp security constraint to force a CAS login screen (if needed). The filter should set up the request object so that you can get a Principal object for the user.

For JForum's SSO, you can then use the RemoteUserSSO class to verify that the valid principal has a minimum JForum User table entry. E.g., userName, default e-mail, etc.

If you want to get more information about the user, e.g. their real name, e-mail, etc. You'll have to create your own SSO class to query CAS for this info.

Integrating CAS groups/roles into jForum roles might be possible, but it would be a fairly challenging bit of coding.
[originally posted on by monroe]
I agree. Here's the link:
subject: Integration with Roller
Similar Threads
Enable SSO and keep user registration active
LDAP authentication
CAS Integration
JForum User Integration
Photo Gallery Integration?