This week's book giveaway is in the Server-Side JavaScript and NodeJS forum.
We're giving away four copies of Micro Frontends in Action and have Michael Geers on-line!
See this thread for details.
Win a copy of Micro Frontends in Action 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

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

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • 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
  • 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]
 
It is difficult to free fools from the chains they revere - Voltaire. tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic