<div dir="ltr">Hi Antoine,<div><br></div><div>Yes I posted the same question in stackoverflow.</div><div><br></div><div><span style="color:rgb(36,39,41);font-family:arial,&quot;helvetica neue&quot;,helvetica,sans-serif;font-size:15px">Attached my test file. I set my browser proxy to localhost:8080 and try to hit this url in the browser &#39;</span><a href="http://rana2-stage.hbs.edu:8557/alumniProfileService/sys/configRefresh.jsp" target="_blank" style="font-family:arial,&quot;helvetica neue&quot;,helvetica,sans-serif;font-size:15px">http://stage-server1:<wbr>8557/testService/sys/<wbr>refreshConfiguration.jsp</a><span style="color:rgb(36,39,41);font-family:arial,&quot;helvetica neue&quot;,helvetica,sans-serif;font-size:15px">&#39; - This goes through either one of the servers - 1,2,3 but Im not able to send response from this actual request url (this url sends back plain text response) to the browser.</span></div><div><font color="#242729" face="arial, helvetica neue, helvetica, sans-serif"><span style="font-size:15px"><br></span></font></div><div><font color="#242729" face="arial, helvetica neue, helvetica, sans-serif"><span style="font-size:15px">Thank you for your help.<br></span></font><div><br></div><div>Thanks</div><div>GeethaDR</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 29, 2017 at 3:19 PM, Antoine Girard <span dir="ltr">&lt;<a href="mailto:antoine.girard@ymail.com" target="_blank">antoine.girard@ymail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Geetha,<div><br></div><div>I guess you are the author of this stackoverflow post:</div><div><a href="http://stackoverflow.com/questions/43029785/how-to-make-undertow-work-as-a-reverse-proxy-to-a-bunch-of-internal-applications" target="_blank">http://stackoverflow.com/<wbr>questions/43029785/how-to-<wbr>make-undertow-work-as-a-<wbr>reverse-proxy-to-a-bunch-of-<wbr>internal-applications</a><br></div><div><br></div><div>I already posted a comment with a suggestion, isn&#39;t it enough?</div><div>Also, please add some code so that we can see what you are doing.</div><div><br></div><div>Cheers,</div><div>Antoine</div></div><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Wed, Mar 29, 2017 at 7:55 PM, Geetha D R <span dir="ltr">&lt;<a href="mailto:geethdr@gmail.com" target="_blank">geethdr@gmail.com</a>&gt;</span> wrote:<br></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra">Hi All,<div><br></div><div><span class=""><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;color:rgb(36,39,41);font-family:arial,&quot;helvetica neue&quot;,helvetica,sans-serif">I want to reverse proxy a bunch of different internal applications using <a href="http://undertow.io/" rel="nofollow noreferrer" style="color:rgb(0,89,153);margin:0px;padding:0px;border:0px;text-decoration:none" target="_blank">Undertow</a>.</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;color:rgb(36,39,41);font-family:arial,&quot;helvetica neue&quot;,helvetica,sans-serif">For example my applications are:</p><ul style="margin:0px 0px 1em 30px;padding:0px;border:0px;font-size:15px;color:rgb(36,39,41);font-family:arial,&quot;helvetica neue&quot;,helvetica,sans-serif"><li style="margin:0px 0px 0.5em;padding:0px;border:0px;word-wrap:break-word"><a href="https://secure.stage.org/application1/index.jsp" target="_blank">https://secure.stage.org/appli<wbr>cation1/index.jsp</a></li><li style="margin:0px;padding:0px;border:0px;word-wrap:break-word"><a href="https://cee.stage.org/application2/default.aspx" target="_blank">https://cee.stage.org/applicat<wbr>ion2/default.aspx</a></li></ul><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;color:rgb(36,39,41);font-family:arial,&quot;helvetica neue&quot;,helvetica,sans-serif">Every request to these applications should go through the proxy server - The proxy server in turn sets the authentication token on these requests and fulfils the request, the response is sent back to the client browser without exposing the authentication token to the client browser i.e., the single sign on cookie is not sent to the browser</p></span><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;color:rgb(36,39,41);font-family:arial,&quot;helvetica neue&quot;,helvetica,sans-serif">When I setup my proxy to say localhost:7001 and try to hit any of the applications for example <a href="https://cee.stageorg/application2/default.aspx" target="_blank">https://cee.stage.org/<wbr>application2/default.aspx</a> - this request should go through proxy server and the proxy is responsible to inject to single sign on cookie and request the target application - proxy sends back the response from the target app.</p><span class=""><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;color:rgb(36,39,41);font-family:arial,&quot;helvetica neue&quot;,helvetica,sans-serif">I am not sure how to implement this in undertow? Can you please provide your suggestions</p><span class="m_-268940855907293637HOEnZb"><font color="#888888"><span class="m_-268940855907293637m_-6933015478486153296gmail-HOEnZb"><font color="#888888"><div>-- <br></div><div class="m_-268940855907293637m_-6933015478486153296gmail-m_381339123243867619gmail_signature">Thanks<br>Geetha DR</div></font></span></font></span></span></div>
</div></div>
<br>______________________________<wbr>_________________<br>
undertow-dev mailing list<br>
<a href="mailto:undertow-dev@lists.jboss.org" target="_blank">undertow-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/undertow-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailma<wbr>n/listinfo/undertow-dev</a><br></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Thanks<br>Geetha DR</div>
</div>