For security reasons, sometimes it is needed to block users by IP. In my case, I would like to manage the IP blacklist in a (SQL) database. I guess I can handle the filter p
It's now possible with Play 2.0.2+ : RequestHeader.remoteAddress()
Java :
String ip = request().remoteAddress();
Scala :
Action { request => val ip = request.remoteAddress() }