File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JForum and the fly likes returnUrl incorrect Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JForum
Bookmark "returnUrl incorrect" Watch "returnUrl incorrect" New topic
Author

returnUrl incorrect

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
I have JForum integrated with Atlassian Crowd for Single Sign-On using JForum-SSO-Crowd-Connector from Digital Sanctuary. We also have Confluence and JIRA integrated with Crowd. SSO works fine for all applications when a user is logged in.

When a user attempts view of a post in private forum, we want JForum to send user to our Confluence login screen but return to the JForum page. JForum uses ?returnUrl but Confluence uses ?os_destination. Changed ViewCommon.java to fix this and works fine.

However, the return URL created is:

but should be


Can this be changed by properties file settings? Or do we change code somewhere?
[originally posted on jforum.net by rhudson]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
the incorrect URL is encoded from

while

[originally posted on jforum.net by rhudson]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: returnUrl incorrect
 
Similar Threads
Using JForum SSO - a kludger's tale
Is it possible to integrate external SSO authentication/directory provider with JForum?
Autologin a website
Jforum SSO - restrict direct forum access => redirect to login page if not loged in please help!!!
Enable SSO and keep user registration active