cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-1440) Improve auth story for Avro
Date Wed, 01 Sep 2010 20:18:55 GMT

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


Mime
View raw message