summaryrefslogtreecommitdiff
path: root/doc/book/src/Qpid-Interoperability-Documentation.xml
blob: 74546693df2b256c0ce3b7cd4aaa3f182c2376f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
<?xml version="1.0" encoding="utf-8"?>
<!--
 
 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file
 distributed with this work for additional information
 regarding copyright ownership.  The ASF licenses this file
 to you under the Apache License, Version 2.0 (the
 "License"); you may not use this file except in compliance
 with the License.  You may obtain a copy of the License at
 
   http://www.apache.org/licenses/LICENSE-2.0
 
 Unless required by applicable law or agreed to in writing,
 software distributed under the License is distributed on an
 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 KIND, either express or implied.  See the License for the
 specific language governing permissions and limitations
 under the License.
 
-->

<section role="h2" id="QpidInteroperabilityDocumentation-QpidInteroperabilityDocumentation">
    <title>Qpid Interoperability Documentation</title>

	 <para>
            This page documents the various interoperable features of the
            Qpid clients.
          </para>
	  <section role="h3" id="QpidInteroperabilityDocumentation-SASL"><title>
            SASL
          </title>

	 <para>
            
          </para>
	  <section role="h4" id="QpidInteroperabilityDocumentation-StandardMechanisms"><title>
            Standard
            Mechanisms
          </title>

	 <para>
            <ulink url="http://en.wikipedia.org/wiki/Simple_Authentication_and_Security_Layer#SASL_mechanisms"/>
          </para><para>
            This table list the various SASL mechanisms that each component
            supports. The version listed shows when this
            functionality was added to the product.
          </para><table><title>SASL Mechanism Support</title><tgroup cols="7">
            <tbody>
              <row>
                <entry>
                  Component
                </entry>
                <entry>
                  ANONYMOUS
                </entry>
                <entry>
                  CRAM-MD5
                </entry>
                <entry>
                  DIGEST-MD5
                </entry>
                <entry>
                  EXTERNAL
                </entry>
                <entry>
                  GSSAPI/Kerberos
                </entry>
                <entry>
                  PLAIN
                </entry>
              </row>
              <row>
                <entry>
                  C++ Broker
                </entry>
                <entry>
                  M3[<xref linkend="QpidInteroperabilityDocumentation-1"/>]
                </entry>
                <entry>
                  M3[<xref linkend="QpidInteroperabilityDocumentation-1"/>,<xref linkend="QpidInteroperabilityDocumentation-2"/>]
                </entry>
                <entry>
                   
                </entry>
                <entry>
                   
                </entry>
                <entry>
                  M3[<xref linkend="QpidInteroperabilityDocumentation-1"/>,<xref linkend="QpidInteroperabilityDocumentation-2"/>]
                </entry>
                <entry>
                  M1
                </entry>
              </row>
              <row>
                <entry>
                  C++ Client
                </entry>
                <entry>
                  M3[<xref linkend="QpidInteroperabilityDocumentation-1"/>]
                </entry>
                <entry>
                   
                </entry>
                <entry>
                   
                </entry>
                <entry>
                   
                </entry>
                <entry>
                   
                </entry>
                <entry>
                  M1
                </entry>
              </row>
              <row>
                <entry>
                  Java Broker
                </entry>
                <entry>
                   
                </entry>
                <entry>
                  M1
                </entry>
                <entry>
                   
                </entry>
                <entry>
                   
                </entry>
                <entry>
                   
                </entry>
                <entry>
                  M1
                </entry>
              </row>
              <row>
                <entry>
                  Java Client
                </entry>
                <entry>
                   
                </entry>
                <entry>
                  M1
                </entry>
                <entry>
                   
                </entry>
                <entry>
                   
                </entry>
                <entry>
                   
                </entry>
                <entry>
                  M1
                </entry>
              </row>
              <row>
                <entry>
                  .Net Client
                </entry>
                <entry>
                  M2
                </entry>
                <entry>
                  M2
                </entry>
                <entry>
                  M2
                </entry>
                <entry>
                  M2
                </entry>
                <entry>
                   
                </entry>
                <entry>
                  M2
                </entry>
              </row>
              <row>
                <entry>
                  Python Client
                </entry>
                <entry>
                   
                </entry>
                <entry>
                   
                </entry>
                <entry>
                   
                </entry>
                <entry>
                   
                </entry>
                <entry>
                   
                </entry>
                <entry>
                  ?
                </entry>
              </row>
              <row>
                <entry>
                  Ruby Client
                </entry>
                <entry>
                   
                </entry>
                <entry>
                   
                </entry>
                <entry>
                   
                </entry>
                <entry>
                   
                </entry>
                <entry>
                   
                </entry>
                <entry>
                  ?
                </entry>
              </row>
            </tbody>
          </tgroup></table>

	  <para id="QpidInteroperabilityDocumentation-1">        
            1: Support for these will be in M3 (currently available on
            trunk).
	  </para>
            
           <para id="QpidInteroperabilityDocumentation-2">2: C++ Broker uses <ulink url="http://freshmeat.net/projects/cyrussasl/">Cyrus SASL</ulink> which
            supports CRAM-MD5 and GSSAPI but these have not been tested yet
          </para>
<!--h4--></section>

	  <section role="h4" id="QpidInteroperabilityDocumentation-CustomMechanisms"><title>
            Custom
            Mechanisms
          </title>

	 <para>
            There have been some custom mechanisms added to our
            implementations.
          </para><table><title>SASL Custom Mechanisms</title><tgroup cols="3">
            <tbody>
              <row>
                <entry>
                  Component
                </entry>
                <entry>
                  AMQPLAIN
                </entry>
                <entry>
                  CRAM-MD5-HASHED
                </entry>
              </row>
              <row>
                <entry>
                  C++ Broker
                </entry>
                <entry>
                   
                </entry>
                <entry>
                   
                </entry>
              </row>
              <row>
                <entry>
                  C++ Client
                </entry>
                <entry>
                   
                </entry>
                <entry>
                   
                </entry>
              </row>
              <row>
                <entry>
                  Java Broker
                </entry>
                <entry>
                  M1
                </entry>
                <entry>
                  M2
                </entry>
              </row>
              <row>
                <entry>
                  Java Client
                </entry>
                <entry>
                  M1
                </entry>
                <entry>
                  M2
                </entry>
              </row>
              <row>
                <entry>
                  .Net Client
                </entry>
                <entry>
                   
                </entry>
                <entry>
                   
                </entry>
              </row>
              <row>
                <entry>
                  Python Client
                </entry>
                <entry>
                  M2
                </entry>
                <entry>
                   
                </entry>
              </row>
              <row>
                <entry>
                  Ruby Client
                </entry>
                <entry>
                  M2
                </entry>
                <entry>
                   
                </entry>
              </row>
            </tbody>
          </tgroup></table>

	  <section><title>AMQPLAIN</title>
	  <para/>
	  </section>
          
	  <section><title>CRAM-MD5-HASHED</title>
          <para>
            The Java SASL implementations require that you have the password
            of the user to validate the incoming request. This then means
            that the user's password must be stored on disk. For this to be
            secure either the broker must encrypt the password file or the
            need for the password being stored must be removed.
          </para><para>
            The CRAM-MD5-HASHED SASL plugin removes the need for the plain
            text password to be stored on disk. The mechanism defers all
            functionality to the build in CRAM-MD5 module the only change is
            on the client side where it generates the hash of the password
            and uses that value as the password. This means that the Java
            Broker only need store the password hash on the file system.
            While a one way hash is not very secure compared to other forms
            of encryption in environments where the having the password in
            plain text is unacceptable this will provide and additional layer
            to protect the password. In particular this offers some
            protection where the same password may be shared amongst many
            systems. It offers no real extra protection against attacks on
            the broker (the secret is now the hash rather than the password).
          </para>
	  </section>
<!--h4--></section>
<!--h3--></section>
<!--h2--></section>