You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Justin Judd (JIRA)" <ji...@apache.org> on 2012/10/10 16:25:02 UTC

[jira] [Created] (THRIFT-1723) Number of Python features- Mutual Authentication, abiltity to stop services

Justin Judd created THRIFT-1723:
-----------------------------------

             Summary: Number of Python features- Mutual Authentication, abiltity to stop services
                 Key: THRIFT-1723
                 URL: https://issues.apache.org/jira/browse/THRIFT-1723
             Project: Thrift
          Issue Type: New Feature
          Components: Python - Library
            Reporter: Justin Judd
         Attachments: python_thrift.diff

This patch adds two major features
1) Mutual Authentication
  a) Services can validate client certificates
  b) Clients can use a certificate during a connection to a service
  c) Validation callback can be provided to handle validation as appropriate for your situation

2) Stop python services
  a) Other languages had the ability to gracefully stop services
  b) Followed java server and socket construction to add stop capability into python

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (THRIFT-1723) Number of Python features- Mutual Authentication, abiltity to stop services, dynamic port binding

Posted by "Justin Judd (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-1723?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Judd updated THRIFT-1723:
--------------------------------

    Description: 
This patch adds three major features
1) Mutual Authentication
  a) Services can validate client certificates
  b) Clients can use a certificate during a connection to a service
  c) Validation callback can be provided to handle validation as appropriate for your situation

2) Stop python services
  Other languages had the ability to gracefully stop services.  Followed java server and socket construction to add stop capability into python

3) Dynamic port binding
  If you create a socket with port=0, the system will find an open port and bind to it.  This was possible before, but you could not get the information from the object about which port it bound to.  I split up the listen() method of the socket into 2 different parts.  You can use it as before with no changes( just call server.serve() ), or if you want the socket data, you call .setup() on the socket( server.serverTransport.setup().getsockname() if you want the socket information )

  was:
This patch adds two major features
1) Mutual Authentication
  a) Services can validate client certificates
  b) Clients can use a certificate during a connection to a service
  c) Validation callback can be provided to handle validation as appropriate for your situation

2) Stop python services
  a) Other languages had the ability to gracefully stop services
  b) Followed java server and socket construction to add stop capability into python

        Summary: Number of Python features- Mutual Authentication, abiltity to stop services, dynamic port binding  (was: Number of Python features- Mutual Authentication, abiltity to stop services)
    
> Number of Python features- Mutual Authentication, abiltity to stop services, dynamic port binding
> -------------------------------------------------------------------------------------------------
>
>                 Key: THRIFT-1723
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1723
>             Project: Thrift
>          Issue Type: New Feature
>          Components: Python - Library
>            Reporter: Justin Judd
>         Attachments: python_thrift.diff
>
>
> This patch adds three major features
> 1) Mutual Authentication
>   a) Services can validate client certificates
>   b) Clients can use a certificate during a connection to a service
>   c) Validation callback can be provided to handle validation as appropriate for your situation
> 2) Stop python services
>   Other languages had the ability to gracefully stop services.  Followed java server and socket construction to add stop capability into python
> 3) Dynamic port binding
>   If you create a socket with port=0, the system will find an open port and bind to it.  This was possible before, but you could not get the information from the object about which port it bound to.  I split up the listen() method of the socket into 2 different parts.  You can use it as before with no changes( just call server.serve() ), or if you want the socket data, you call .setup() on the socket( server.serverTransport.setup().getsockname() if you want the socket information )

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (THRIFT-1723) Number of Python features- Mutual Authentication, abiltity to stop services

Posted by "Justin Judd (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-1723?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Judd updated THRIFT-1723:
--------------------------------

    Attachment: python_thrift.diff

Patch containing changes for both features to thrift python library.
                
> Number of Python features- Mutual Authentication, abiltity to stop services
> ---------------------------------------------------------------------------
>
>                 Key: THRIFT-1723
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1723
>             Project: Thrift
>          Issue Type: New Feature
>          Components: Python - Library
>            Reporter: Justin Judd
>         Attachments: python_thrift.diff
>
>
> This patch adds two major features
> 1) Mutual Authentication
>   a) Services can validate client certificates
>   b) Clients can use a certificate during a connection to a service
>   c) Validation callback can be provided to handle validation as appropriate for your situation
> 2) Stop python services
>   a) Other languages had the ability to gracefully stop services
>   b) Followed java server and socket construction to add stop capability into python

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Comment Edited] (THRIFT-1723) Number of Python features- Mutual Authentication, abiltity to stop services, dynamic port binding

Posted by "Justin Judd (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-1723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13473254#comment-13473254 ] 

Justin Judd edited comment on THRIFT-1723 at 10/10/12 3:29 PM:
---------------------------------------------------------------

Patch containing changes for all features to thrift python library.
                
      was (Author: guitarj87):
    Patch containing changes for both features to thrift python library.
                  
> Number of Python features- Mutual Authentication, abiltity to stop services, dynamic port binding
> -------------------------------------------------------------------------------------------------
>
>                 Key: THRIFT-1723
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1723
>             Project: Thrift
>          Issue Type: New Feature
>          Components: Python - Library
>            Reporter: Justin Judd
>         Attachments: python_thrift.diff
>
>
> This patch adds three major features
> 1) Mutual Authentication
>   a) Services can validate client certificates
>   b) Clients can use a certificate during a connection to a service
>   c) Validation callback can be provided to handle validation as appropriate for your situation
> 2) Stop python services
>   Other languages had the ability to gracefully stop services.  Followed java server and socket construction to add stop capability into python
> 3) Dynamic port binding
>   If you create a socket with port=0, the system will find an open port and bind to it.  This was possible before, but you could not get the information from the object about which port it bound to.  I split up the listen() method of the socket into 2 different parts.  You can use it as before with no changes( just call server.serve() ), or if you want the socket data, you call .setup() on the socket( server.serverTransport.setup().getsockname() if you want the socket information )

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira