• 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 ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

SSO prohibits Registration,login for all - How admin can access Admin control panel

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 imeplemented SSO using Monroe SSOCookie and though the cookie is coming as null in Forum,the user is considered as anonymous and login,registration pages are not shown to the user.

Now if admin wants to access admincontrolpanel, he has to login to the Jforum which is not possible because of SSO. I tried to copy paste the admin control panel url(http://localhost:8080/satyam/admBase/login.page) in browser and then the system shows Registration of new users is disabled. error message


Please let me know how to handle this scenario? Jforum is integrated with my main application where the user logs in actually. I can go to database and create a record for user admin such that he can login to main application but when he comes to forum using Cookie, how Jforum identifies him as admin and shows him admin control panel?

[originally posted on jforum.net by gregjhonson]
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
This is basically a logic problem.. The SSO user can not be added to the administrators group until it exists in the jForum tables. But it won't exist there until the SSO user can log on with the SSO function turn on. But if you turn on SSO, the default admin account can't log in and grant the new SSO user rights....

So, the solution for granting SSO users admin rights would be to do the following:

1) Turn on SSO and log in as the ID you want to be an admin user (creates the JForum_Users entry)

2) Turn off SSO (modify config info) and log in as default admin user (created during install)

3) Add the new SSO admin user to the administrators group

4) Turn SSO back on.
[originally posted on jforum.net by monroe]
Slideshow boring ... losing consciousness ... just gonna take a quick nap on this tiny ad ...
a bit of art, as a gift, the permaculture playing cards
    Bookmark Topic Watch Topic
  • New Topic