• 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
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

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]
 
Forget this weirdo. You guys wanna see something really neat? I just have to take off my shoe .... (hint: it's a tiny ad)
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic