You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Anshum Gupta (JIRA)" <ji...@apache.org> on 2015/06/08 17:29:00 UTC

[jira] [Commented] (SOLR-7648) Authorization context doesn't expose remote ip/host

    [ https://issues.apache.org/jira/browse/SOLR-7648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14577349#comment-14577349 ] 

Anshum Gupta commented on SOLR-7648:
------------------------------------

Looking at the java docs for .getRemoteHost(), authorizationContext.getHeader(REMOTE_HOST) should give you just that.

> Authorization context doesn't expose remote ip/host
> ---------------------------------------------------
>
>                 Key: SOLR-7648
>                 URL: https://issues.apache.org/jira/browse/SOLR-7648
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Ishan Chattopadhyaya
>         Attachments: SOLR-7648.patch
>
>
> One of the solutions is to expose the entire servlet request object. Another way is to expose only the remote address/host.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org