We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4f00d40 + c022b51 commit f3a5e23Copy full SHA for f3a5e23
src/features/SecureSession/SecureSession.js
@@ -117,8 +117,9 @@ var SecureTopicSubscriber = function (topicName) {
117
subscriber.log('Received message: "' + message.getBinaryAttachment() + '", details:\n' +
118
message.dump());
119
});
120
- // connect to broker
121
- subscriber.connectToSolace();
+ // if secure connection, first load iframe so the browser can provide a client-certificate
+ var urlNoProto = hosturl.split('/').slice(2).join('/'); // remove protocol prefix
122
+ document.getElementById('iframe').src = 'https://' + urlNoProto + '/crossdomain.xml';
123
};
124
125
// Actually connects the session triggered when the iframe has been loaded - see in html code
0 commit comments