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.
Greg [originally posted on jforum.net by gregjhonson]
Migrated From Jforum.net
Joined: Apr 22, 2012
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 posts.new.delay 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 jforum.net by monroe]