• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

Login problem with SSO

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello, i have configured JForum into my webapp, if i first load one user in my webpage, and when user click on Forum link, load username in a session variable read by JForum to know what user must be load... all perfect.

My problem is that if I click first without login in my webpage, user appears in JForum who Anonymous, this is correct, but after, If i load one user and click on Forum link, JForum not load username session variable, JForum load user who Anonymous again.

Question is simple, who I restart or fix JForum loader or other thing to load username of session variable if I first load JForum who Anonymous?

Thanks.
[originally posted on jforum.net by MiLLeN]
 
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
Sounds like your isSessionValid method is not checking for the case where the current jforum user does not match the user set by your application. See the RemoteUserSSO code for an example of all the cases that need to be checked.
[originally posted on jforum.net by monroe]
 
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

monroe wrote:Sounds like your isSessionValid method is not checking for the case where the current jforum user does not match the user set by your application. See the RemoteUserSSO code for an example of all the cases that need to be checked.



Hello monroe, I cant able to enter here for exams.

Yes, problem was in "iSSessionValid" method, problem fix.

Thank you ;)
[originally posted on jforum.net by MiLLeN]
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic