• 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
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Using JForum user management in other applications

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 recently added JForum to my site. I changed my application so it uses the JForum user tables, and I can log in to my application with the JForum username/passwd now.

What I can't figure out is how to use JForums user management, in order to take advantage of cookies etc. So basically, if a user checked "Log me on automatically each visit", I would like to log them in into my application automatically as well.

I could not find this in the integration docs, and simply calling SessionFacade.getUserSession().getUserId() without any initialization gives me a nullPointerException.

Any help would be appreciated!

[originally posted on jforum.net by jhammink]
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic