You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Solace Broker supports different ways to connect and authenticate users. This section shows how to pass <<quarkus-solace_quarkus.solace-extra, extra properties>> to quarkus solace client in different scenarios.
73
+
74
+
{empty}1. Connecting to a standalone broker with basic authentication
75
+
[source,yaml]
76
+
----
77
+
quarkus.solace.host=tcp://localhost:55555
78
+
quarkus.solace.vpn=default
79
+
quarkus.solace.authentication.basic.username=test
80
+
quarkus.solace.authentication.basic.password=test
81
+
----
82
+
83
+
{empty}2. Connecting to a standalone broker with TLS and basic authentication. This assumes you have a publicly signed CA.
84
+
[source,yaml]
85
+
----
86
+
quarkus.solace.host=tcps://localhost:55443
87
+
quarkus.solace.vpn=default
88
+
quarkus.solace.authentication.basic.username=test
89
+
quarkus.solace.authentication.basic.password=test
90
+
----
91
+
92
+
{empty}3. Connecting to a standalone broker with TLS, basic authentication and custom trust store which hold your CA.
93
+
[source,yaml]
94
+
----
95
+
quarkus.solace.host=tcps://localhost:55443
96
+
quarkus.solace.vpn=default
97
+
quarkus.solace.authentication.basic.username=test
98
+
quarkus.solace.authentication.basic.password=test
99
+
quarkus.solace.tls.trust-store-path=
100
+
quarkus.solace.tls.trust-store-type=
101
+
quarkus.solace.tls.trust-store-password=
102
+
----
103
+
104
+
{empty}3. Connecting to a standalone broker with TLS, trust store and client certificate authentication. In case of client certificate authentication broker will read from configured username source(ex: Common Name, Subject Alt Name etc...). Refer to https://docs.solace.com/Security/Configuring-Client-Authentication.htm#Client-Cert[Solace Client Certificate Authentication].
0 commit comments