snimavat / nimble

Nimble Security Grails Plugin
Other
15 stars 19 forks source link

Fix how remoteAddress is calculated to work with proxies #10

Closed snimavat closed 11 years ago

snimavat commented 11 years ago

Currently remoteAddr for login record is taken using request.getRemoteAddr(). This does not work when the application is behind a proxy or loadbalancer.