This week's book giveaway is in the Server-Side JavaScript and NodeJS forum.
We're giving away four copies of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques and have Mario Casciaro & Luciano Mammino on-line!
See this thread for details.
Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS forum!
  • 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
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Integration with Roller

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 jforum.net by StuBramley]
 
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 have the exact same issue.
It would be great if there was a HOW-TO or at least any documentation.
[originally posted on jforum.net by paranoiabla]
 
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 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 jforum.net by monroe]
 
reply
    Bookmark Topic Watch Topic
  • New Topic