Redirecting to a URL of type www.abc.com/login.do

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
7/18/2010 6:17:24 AM
Gravatar
Total Posts 2

Redirecting to a URL of type www.abc.com/login.do

Hi All

I have a requirement in which there is a site let say www.xyz.com that is developed in Mojo.In the home page of the site there is login form user control.

Once I enter the user credentials in the login form and submit ,the redirection should happen to a url  (www.abc.com/login.do) .Also the user credentials should be passed along with the url(www.abc.com/login.do) so that it can be authenticated  for access pages of www.abc.com.

As www.xyz.com made on mojo and hosted on IIS it doesn't understand  request of type www.abc.com/login.do

(I have tried using Response.Redirect but it doesn't work for this type of request. Second thing is the other site( www.abc.com) is  hosted on Apache Server(a  simple JSP and servlet application)

Also I could not use href and append with parameters as they will cause security issues.
Is there any setting in Mojo which can help me to acheive this.Please help me and suggest me options to acheive this.

 

Thanks in Advance

 

Regards

Pravin

7/21/2010 9:05:50 AM
Gravatar
Total Posts 18439

Re: Redirecting to a URL of type www.abc.com/login.do

Hi Pravin,

I answered a similar question here. It is possible to force a redirect but as explained in the linked thread it is not advisable. And for sure mojoportal is not going to forward secure credentials as query string params to some other url that would make both sites totally insecure. It is always challenging to integrate 2 systems that each have their own authentication, I don't have any easy solution suggestion to offer you. 

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.