Skip to content

Commit 45464c4

Browse files
committed
define authn req & res types
Signed-off-by: Emelia Lei <[email protected]>
1 parent 837412f commit 45464c4

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

src/groups/bmq/bmqp/bmqp_ctrlmsg.xsd

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@
117117
<element bdem:id='15' name='configureQueueStreamResponse' type='tns:ConfigureQueueStreamResponse'/>
118118
<element bdem:id='16' name='configureStream' type='tns:ConfigureStream'/>
119119
<element bdem:id='17' name='configureStreamResponse' type='tns:ConfigureStreamResponse'/>
120+
<element bdem:id='18' name='authenticate' type='tns:Authenticate'/>
121+
<element bdem:id='19' name='authenticateResponse' type='tns:AuthenticateResponse'/>
120122
</choice>
121123
</sequence>
122124
</complexType>
@@ -300,6 +302,42 @@
300302
</sequence>
301303
</complexType>
302304

305+
<complexType name='Authenticate'>
306+
<annotation>
307+
<documentation>
308+
This request is a messages sent from a client to a broker during
309+
session initiation or reauthentication. The message indicates the client
310+
is attempting to authenticate with the supplied authentication material
311+
to initiate a session.
312+
313+
mechanism.: The authentication mechanism the client intends to use
314+
data......: The client's authentication material
315+
</documentation>
316+
</annotation>
317+
<sequence>
318+
<element name='mechanism' type='string'/>
319+
<element name='data' type='hexBinary' minOccurs='0'/>
320+
</sequence>
321+
</complexType>
322+
323+
<complexType name='AuthenticateResponse'>
324+
<annotation>
325+
<documentation>
326+
Response of an 'Authenticate' request indicating the result of the operation.
327+
The message is sent to a client from a broker during authentication.
328+
329+
status.....: Status of the request
330+
lifetimeMs.: The duration (in milliseconds) the client's session is
331+
valid for. The client must re-authenticate before the
332+
lifetime expires or it will be disconnected.
333+
</documentation>
334+
</annotation>
335+
<sequence>
336+
<element name='status' type='tns:Status' />
337+
<element name='lifetimeMs' type='long' minOccurs='0'/>
338+
</sequence>
339+
</complexType>
340+
303341
<complexType name='QueueHandleParameters'>
304342
<annotation>
305343
<documentation>

0 commit comments

Comments
 (0)