2.1.2 Explicit authorization - method LOGON
Another simple method of authorization is providing the login and password according to the below procedure:
1) after receiving the request for authorization check whether the library offers the method LOGON and if yes then:
2) send instruction <auth Method="LOGON" LoginName="…" Password="…"/>;
3) wait for the reply: <auth Method="LOGON" Status="OK"/>.
If the reply contains attribute Status with value OK then it means that the XML bridge has been successfully authorized with the data received. Any different value of the Status attribute means that access was denied.