cancel
Showing results for 
Search instead for 
Did you mean: 

JAAS Login Module and WebDispatcher

Former Member
0 Kudos

Hi there!

We developed a custom JAAS login module to filter client IP addresses. The IP address is read from Http Callback CLIENT_IP. It is working fine.

But if we use WebDispatcher for load balancing, CLIENT_IP is always recognized as the WebDispatchers IP address.

Is there any way to get the real client IP address?

Regards,

Christian

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi,

Try configuring wdisp/add_xforwardedfor_header in web dispatcher as described here:

http://help.sap.com/saphelp_nw04/helpdata/en/de/89023c59698908e10000000a11402f/content.htm

And configuring ClientIpHeaderName on the java server as described here:

http://help.sap.com/saphelp_nw04/helpdata/en/52/46f6a089754e3a964a5d932eb9db8b/content.htm

Regards,

Maria

Former Member
0 Kudos

Hi,

Thats it! I don't even have to read the x-forwarded-for header in my login module, the httpGetterCallback CLIENT_IP now just reveives the real client IP.

Definitely a 10 pointer!

Regards,

Christian

Answers (0)