[ 
https://issues.apache.org/jira/browse/CASSANDRA-1440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12905199#action_12905199
 ] 

Doug Cutting commented on CASSANDRA-1440:
-----------------------------------------

I wonder if you could instead simply use Jetty's Server class directly.  The 
only line of code you're really getting from Avro's HttpServer is:

{code}
 new Context(server, "/").addServlet(new ServletHolder(new 
ResponderServlet(responder)), "/*");
{code}

So this wouldn't duplicate much, and it would keep Avro's HttpServer API 
Jetty-independent.

> Improve auth story for Avro
> ---------------------------
>
>                 Key: CASSANDRA-1440
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1440
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Stu Hood
>         Attachments: 
> 0001-Use-AVRO-649-to-plug-in-a-ThreadPool-implementation-.patch
>
>
> Avro is:
>  * Missing many of the authorization calls that Thrift makes
>  * Doesn't clean up ThreadLocal state when a connection closes (accomplished 
> in Thrift via the hacked up {{thrift.CustomTThreadPoolServer}})
>  * Doesn't have a login method (probably due to the last issue)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to