• 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
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

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]
 
If you try to please everybody, your progress is limited by the noisiest fool. And 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