cancel
Showing results for 
Search instead for 
Did you mean: 

Redirect direct backend requests to web dispatcher except those coming from the web dispatcher

pieterjanssens
Active Participant
0 Kudos

Need to redirect requests to backend to Web Dispatcher, because SSO is setup on the web dispatcher hostname.

So when a user uses his old bookmark pointing to backendsystem.corp.com/irj/portal, it would go automatically to webdispatcher.corp.com/irj/portal so that the SAML authentication works. (SAML is setup on webdispatcher.corp.com/irj/portal).

Now the redirect from ICM of the backend system works and redirect the user automatically to webdispatcher.corp.com, however the request is then proxied to backendsystem.corp.com by the web dispatcher, which then in turn redirects again to the web dispatcher. So we end up with a circular reference...

How can this be solved? Can requests from the web dispatcher be excluded in any way from the redirect?

gregorw
Active Contributor
0 Kudos

If the answer from Hsia-Liang can't be applied please let us know more details about how you did setup the redirect.

Accepted Solutions (1)

Accepted Solutions (1)

former_member205280
Active Participant

Hi Pieter,

Can you please share the ICM as well as Web Dispatcher configuration parameter?

Also please check the following SAP note:

2338777 - Avoid having users accessing ICM and redirect to Web Dispatcher

Regards,

Michael

pieterjanssens
Active Participant
0 Kudos

Thanks to point to that note!

Answers (1)

Answers (1)

0 Kudos

Have you tried to read the http header's referer field? From there you should be able to identify the origin of the traffic (in this case from your webdispatcher) to prevent additional redirecting

pieterjanssens
Active Participant
0 Kudos

I was hoping something like this was possible, however I dont' know how this could be put into place as an ICM parameter. Could you point me in the right direction?