3.3 Element Auth

Směr

Z XML bridge – výzva k provedení autentizace

Tělo elementu

Seznam elementů method a pro metodu SASL seznam elementů mechanism.

Exampley

<auth>

       <method Name="OS"/>
       <method Name="LOGON"/>
       <method Name="SASL">
             <mechanism Name="DIGEST"/>
             <mechanism Name="NTLM"/>
             <mechanism Name="KERBEROS"/>
       </method>

</auth>

Direction

To XML bridge

Attributes

Method

Method of authentication:

- “OS” – XML bridge has to authenticate with the operating system identity, in whose context the respective application is launched – transparent logon;

- “LOGON” – explicit logon with username and password;

- “EXTERN” – XML bridge only mediates the exchange of authentication information for the respective authentication mechanism.

Domain1

Domain (not required).

UserName1

User name.

Password1

Password (not required).

Mechanism2

Selected authentication mechanism.

Element body

Security token according to the authentication mechanism selected.2

Examples

<auth Method="OS"/>

<auth Method="LOGON" Domain="2N" LoginName="NESLADEK" Password="heslo"/>

<auth Method="SASL" Mechanism="DIGEST"/>

<auth Method="SASL" Mechanism="DIGEST">username="NESLADEK",realm="2N",nonce="dcd98b7102dd2f0e8b11d0f600bfb0c093",uri="NetStar",

qop=auth,nc=00000001,cnonce="0a4f113b",response="6629fae49393a05397450978507c4ef1",opaque="5ccc069c403ebaf9f0171e9517f40e41"</auth>

1 only if the Metod attribute acquires the value “LOGON”

2 only if the Metod attribute acquires the value “EXTERN”

Direction

From XML bridge

Attributes

Status

Mechanism1

Selected authentication mechanism.

Element body

List of Mechanism elements.2

Security token according to the authentication mechanism selected.3

Examples

<auth Method="OS" Status="OK"/>

<auth Method="SASL" Mechanism="DIGEST">realm="2N",nonce="dcd98b7102dd2f0e8b11d0f600bfb0c093",qop=auth</auth>

1 only if the required authentication method is “EXTERN”

2 only if the required authentication method is “EXTERN” and authentication mechanism has not been specified

3 only if the required authentication method is “EXTERN” and authentication is already being executed according to the authentication mechanism