Resteasy security interceptor - how to obtain client IP address inside interceptor?
<p>I have implemented an interceptor to carry out a security check on the client IP address with the following annotations -
@Provider
@ServerInterceptor
@Precedence("SECURITY")</p>

<p>The preprocess method takes the parameters HttpRequest request, ResourceMethod method.
Is there a way of obtaining the client's IP address from the Resteasy HttpRequest object?
I can implement a filter to get around this, but would like to keep security checks in the one place.</p>
