You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Gordon Sim (JIRA)" <ji...@apache.org> on 2015/05/15 18:32:00 UTC

[jira] [Resolved] (PROTON-861) need to get at aspect of the client certificate when for authenticated clients

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

Gordon Sim resolved PROTON-861.
-------------------------------
    Resolution: Fixed

The subject from the peer's certificate is now available through the ssl object associated with the transport, so e.g.

{noformat}
    def on_connection_opening(self, event):
        ssl = event.transport.ssl()
        if ssl:
            print "%s connected" % ssl.remote_subject
{noformat}

> need to get at aspect of the client certificate when for authenticated clients
> ------------------------------------------------------------------------------
>
>                 Key: PROTON-861
>                 URL: https://issues.apache.org/jira/browse/PROTON-861
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: python-binding
>    Affects Versions: 0.9
>            Reporter: Gordon Sim
>            Assignee: Gordon Sim
>             Fix For: 0.10
>
>
> e.g. in order to do authorisation or whatever based on the authenticated identity



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)