1 authenticate, 2 configure, 1 authenticate 4.6.2 configure – Artesyn ViewCheck on ATCA-7470/7475 Installation and Use (May 2014) User Manual

Page 38

Advertising
background image

Installation of ViewCheck

ViewCheck on ATCA-7470/7475 Installation and Use (6806800S49C)

38

telnet localhost 15550

Trying 127.0.0.1...

Connected to localhost.localdomain (127.0.0.1).

Escape character is '^]'.

4.6.1

Authenticate

After a connection with the XML Agent is established, the only command which should be
executed is Authenticate. This command is for evaluating user credentials.

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

You need to send 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 if the validation is successful.

Request:
In the below request the user credentials “Admin”/"Admin” are created by default in the
BSF. But user may supply user 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>]]>]]>

4.6.2

Configure

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

Advertising