Hi, You can get your original IP if it is stored in some header by changing the configuration of the *ClientInfoThreadLocalFilter* filter: https://github.com/Jasig/cas/blob/master/cas-server-webapp/src/main/webapp/WEB-INF/web.xml#L38 . Use the *alternativeIpAddressHeader* parameter: https://github.com/dima767/inspektr/blob/master/inspektr-common/src/main/java/com/github/inspektr/common/web/ClientInfoThreadLocalFilter.java#L70 . Best regards, Jérôme
2014-02-20 9:28 GMT+01:00 Carlos <[email protected]>: > Hi! > I have configured the Throttle Intercept Activation in my environment > following the instructions from > https://wiki.jasig.org/display/CASUM/Throttling+Login+Attempts. > > In web.xml I set the options: > > <filter> > <filter-name>CAS Client Info Logging Filter</filter-name> > > <filter-class>com.github.inspektr.common.web.ClientInfoThreadLocalFilter</filter-class> > > <init-param> > <param-name>alternativeIpAddressHeader</param-name> > <param-value>X-Forwarded-For</param-value> > </init-param> > </filter> > > But, I note that the tests conducted only logger the ip address from my > load balancer (nginx). > > Any Idea!! > > Thank's. > -- > You are currently subscribed to [email protected] as: > [email protected] > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user > -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
