1 authenticate, 2 configure, 1 authenticate 3.6.2 configure – Artesyn ViewCheck on ATCA-9405 Installation and Use (November 2014) User Manual

Page 31

Advertising
background image

Installation of ViewCheck

ViewCheck on ATCA-9405 Installation and Use (6806800S51F)

31

telnet localhost 15550

Trying 127.0.0.1...

Connected to localhost.localdomain (127.0.0.1).

Escape character is '^]'.

3.6.1

Authenticate

After a connection with XML Agent is established, the only command should be executed is
Authenticate

. This command is for evaluating user credentials.

The Authenticate command contains user name and password for verification. Successful
authentication is signified by the success response, otherwise an error message is returned.

You need to enter the user credentials to XML Agent using the command Authenticate. The
XML Agent forwards the authentication request to the BSF system, which validates the user
credentials and allows the XML client to access it.

Request:
In the below request, the user credentials “Admin” and "Admin” are created by default in
the BSF. But you need to provide credentials by creating them using the "CreateObject"
command as shown in the section

GetClassList

.

<Script><Authenticate><User>Admin</User><Password>Admin</Passwo

rd></Authenticate></Script>]]>]]>

Response:
The below response is received if the authentication is successful.
<?xml version="1.0"?><Response><Success/></Response>]]>]]>
The following response is received if authentication fails.
<?xml

version="1.0"?><Response><Error><ErrorCode>1</ErrorCode><Type>O

peration not allowed</Type><Description>Authentication

error</Description><CustomError/></Error></Response>]]>]]>

3.6.2

Configure

This command configures the XML protocol for the indentation and the events to
enable/disable state. There are two configuration options available:

Advertising