This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JForum and the fly likes jforum/  - What scenarios?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "jforum/  - What scenarios??" Watch "jforum/  - What scenarios??" New topic

jforum/ - What scenarios??

Migrated From
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424

Jforum rocks.......Thanks to all great dev team and forum supporters

When ever i try to repost within a short span of time, Jforum shows the following error message.

You cannot post a new message so soon. Please wait some time and try again.

and i see the URL as http://localhost:8080/jforum/

Does jforum redirect to this URL whenever there is any validation issue?

When i tried to have a single war with both main application and Jforum inside, i couldnt create topics,reply messages as Jforum is redirecting the user to this URL. Please let me know why this happens in case of single war alone? In double war it works fine.

[originally posted on by gregjhonson]
Migrated From
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
You're mixing "exception" situations here. There is the situation you need to be logged in to post and the situation that you're triggering the "flood" posting code.

With the need to be logged in, the code uses the rules in the ViewCommons.contextToLogin method. This gets called from various methods that do security checks.

Basicially, this method tests to see if the authentication.type" config option is set to sso" and if the sso.redirect config property set. It the two of these are true, then the sso.redirect property value is used (with an added parameter named"returnUrl" that has the original URL requested).

In the case of "flood" protection (e.g., malicious users trying to flood a forum with an automatic poster), this is handled by the PostAction.insertSave method. This is based on the value of the config property (0 or less disable is). If the time between posts is too short, this basically calls the insert method which should redisplay the post form.
[originally posted on by monroe]
I agree. Here's the link:
subject: jforum/ - What scenarios??
Similar Threads
Integration: Automatically creating forums via a URL
http://localhost:8080/jforum/ - what scenarios
two different URL prefixes on the same forum
net.jforum.ActionServletRequest. CVS 1.27
Jforum display selected categories