aspose file tools*
The moose likes JForum and the fly likes Total Registered Users and Single Sign On Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "Total Registered Users and Single Sign On" Watch "Total Registered Users and Single Sign On" New topic
Author

Total Registered Users and Single Sign On

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hi,

I set up jforum recently and noticed that the total number of registered users printed on the bottom of the forum index doesn't update unless I restart the app server. I did set up a single sign on using a cookie as described elsewhere on this site and was wondering if that is the cause of this problem.

BTW - The single sign on class I created implements net.jforum.sso.SSO and reads a user cookie then returns the username while adding the email and password to the session. It basically follows the examples exactly as described and works fine.
[originally posted on jforum.net by LouisTheLizard]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
See: http://www.coderanch.com/t/577995 #18668

Basically, if you use SSOUtils.register to create users (or some of the code samples), it doesn't update the in memory repository... probably technically a bug but there are reasons you might not want to do this...
[originally posted on jforum.net by monroe]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Excellent, thanks for the link and the quick response.



[originally posted on jforum.net by LouisTheLizard]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Total Registered Users and Single Sign On