[jira] [Updated] (SOLR-6723) Give HttpSolrServer the ability to send OPTIONS requests

2018-12-03 Thread Cassandra Targett (JIRA)


 [ 
https://issues.apache.org/jira/browse/SOLR-6723?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Cassandra Targett updated SOLR-6723:

Component/s: Authentication

> Give HttpSolrServer the ability to send OPTIONS requests
> 
>
> Key: SOLR-6723
> URL: https://issues.apache.org/jira/browse/SOLR-6723
> Project: Solr
>  Issue Type: New Feature
>  Components: Authentication, SolrJ
>Reporter: Gregory Chanan
>Assignee: Gregory Chanan
>Priority: Minor
> Attachments: SOLR-6723.patch
>
>
> This feature is related to SOLR-6625.  I have a kerberos filter defined in 
> solr's web.xml and need to authenticate.  As mentioned in SOLR-6625, we are 
> required to send a repeatable request in order to trigger SPNego negotiation 
> prior to sending a non-repeatable (PUT or POST) request.  The standard way to 
> do this seems to be to send an OPTIONS call, see for example, hadoop's 
> KerberosAuthenticator 
> (https://github.com/apache/hadoop/blob/eace218411a7733abb8dfca6aaa4eb0557e25e0c/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/client/KerberosAuthenticator.java#L185-L186).
>   This is arbitrary, i.e. we could trigger the negotiation based on some path 
> rather then the request method, but it seems better to just use what other 
> projects use here rather than make up our own solution.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Updated] (SOLR-6723) Give HttpSolrServer the ability to send OPTIONS requests

2014-11-10 Thread Gregory Chanan (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-6723?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gregory Chanan updated SOLR-6723:
-
Attachment: SOLR-6723.patch

Here's a patch that implements this and adds a test.

> Give HttpSolrServer the ability to send OPTIONS requests
> 
>
> Key: SOLR-6723
> URL: https://issues.apache.org/jira/browse/SOLR-6723
> Project: Solr
>  Issue Type: New Feature
>  Components: SolrJ
>Reporter: Gregory Chanan
>Assignee: Gregory Chanan
>Priority: Minor
> Attachments: SOLR-6723.patch
>
>
> This feature is related to SOLR-6625.  I have a kerberos filter defined in 
> solr's web.xml and need to authenticate.  As mentioned in SOLR-6625, we are 
> required to send a repeatable request in order to trigger SPNego negotiation 
> prior to sending a non-repeatable (PUT or POST) request.  The standard way to 
> do this seems to be to send an OPTIONS call, see for example, hadoop's 
> KerberosAuthenticator 
> (https://github.com/apache/hadoop/blob/eace218411a7733abb8dfca6aaa4eb0557e25e0c/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/client/KerberosAuthenticator.java#L185-L186).
>   This is arbitrary, i.e. we could trigger the negotiation based on some path 
> rather then the request method, but it seems better to just use what other 
> projects use here rather than make up our own solution.



--
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