[
https://issues.apache.org/jira/browse/PROTON-1293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15507900#comment-15507900
]
ASF subversion and git services commented on PROTON-1293:
---------------------------------------------------------
Commit 0e37353d7410841ebb291b14e05b7dc9943cd1ce in qpid-proton's branch
refs/heads/master from [~aconway]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=0e37353 ]
PROTON-1293: Go binding SASL support.
proton package
- added sasl.h to the Go proton wrapper generator.
- capitalized as "SASL" *not* "Sasl", consistent with Go conventions (e.g. URL)
- added SASL() accessor to proton.Transport.
- Engine.Run() extra dispatch and check as
pn_connection_engine_read/write_buffer()
can generate events that close the transport in an auth failure.
- Engine.Id()/String() use transport address to match PN_TRACE_ logs.
- Drop auto-open of engine: let user set security first.
electron package:
- new ConnectionOption: User, Password, VirtualHost, SASLAllowInsecure,
SASLAllowedMechs
- global settings with GlobalSASLConfigDir, GobalSASLConfName
- IncomingConnection allows user to accept/reject authenticated incoming
connections
- updated & improved documentation
- Endpoint.Sync() synchronous check of endpoint open, to verify authenticated.
Note: Password option takes []byte not string. There is no way to securely erase
a string from memory, an array can be over-written.
> Support username and password in electron go binding
> ----------------------------------------------------
>
> Key: PROTON-1293
> URL: https://issues.apache.org/jira/browse/PROTON-1293
> Project: Qpid Proton
> Issue Type: Improvement
> Components: go-binding
> Affects Versions: 0.15.0
> Reporter: Richard Laos
> Assignee: Alan Conway
> Priority: Minor
>
> It appears that the electron api does not support a username and password as
> part of an amqp connection. However maybe the example just needs to included
> this if it is supported.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]