[ 
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to