lib/bbk/amqp/publisher.rb
# Get connection user. If tls connectoin try extract CN from connection tls_cert
# @return [String] user name
Get connection user. If tls connectoin try extract CN from connection tls_cert
Get connection user . If tls connectoin try extract CN from connection tls_cert
def client_name
          return connection.user unless connection.ssl?
          @client_name ||= Utils.commonname(connection.transport.tls_certificate_path)
        end
def client_name return connection . user unless connection . ssl? @client_name ||= Utils . commonname ( connection . transport . tls_certificate_path ) end
Get connection user.
Get connection user .
None
String