No.  SolrQueryRequest doesn't (currently) have access to the actual HTTP 
request coming in.  You'll need to do this either with a servlet filter and 
register it into web.xml or restrict it from some other external firewall'ish 
technology.

        Erik

On Jan 23, 2011, at 13:21 , Teebo wrote:

> Hi
> 
> I would like to restrict access to /update/csv request handler
> 
> Is there a ready to use UpdateRequestProcessor for that ?
> 
> 
> My first idea was to heritate from CSVRequestHandler and to overload
> public void handleRequest(SolrQueryRequest req, SolrQueryResponse rsp) {
>  ...
>  restrict by IP code
>  ...
>  super(req, rsp);
> }
> 
> What do you think ?
> 
> Regards,
> t.

Reply via email to