• 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:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

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

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

http://localhost:8080/MyOwnBriefcase/jforum.page

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?



Thanks
Greg
[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]
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic