7. LW3 Programmers’ Reference
UCX series – User's Manual
127
Applied firmware package: v1.2.0b9 | LDC software: v2.5.10b1
8.14.4. Query the Username for Authentication
DIFFERENCE:
This command is available from 1.2.0 firmware package.
INFO:
UCX series deal with one user for authentication and the username (admin) can not be changed.
Command and Response
ç
GET·/V1/MANAGEMENT/NETWORK/AUTH/USER1.Name
æ
pr /V1/MANAGEMENT/NETWORK/AUTH/USER1.Name=admin
Example
ç
GET /V1/MANAGEMENT/NETWORK/AUTH/USER1.Name
æ
pr /V1/MANAGEMENT/NETWORK/AUTH/USER1.Name=admin
8.14.5.
Set Password for Authentication
DIFFERENCE:
This command is available from 1.2.0 firmware package.
INFO:
Due to security reasons, the password is not stored in any property, so it can not be queried. No
password is set for default, giving a password before authorize the authentication is necessary.
Command and Response
#password
ç
CALL·/V1/MANAGEMENT/NETWORK/AUTH/USER1:setPassword(
<password>
)
æ
mO
·
/V1/MANAGEMENT/NETWORK/AUTH/USER1:setPassword=
Parameters
Identifier
Parameter description
Value description
<password>
User defined password for authentication.
max. character length: 100
accepted characters: a-z, A-Z, 0-9
Example
ç
CALL /V1/MANAGEMENT/NETWORK/AUTH/USER1:setPassword(password)
æ
mO /V1/MANAGEMENT/NETWORK/AUTH/USER1:setPassword=
8.14.6.
Enable Authentication
DIFFERENCE:
This command is available from 1.2.0 firmware package.
INFO:
Set the password before enable the authentication, because no password is set for default.
Command and Response
ç
SET
·/V1/MANAGEMENT/NETWORK/SERVICES/
<port>
.AuthenticationEnabled=
<status>
æ
pw
·/V1/MANAGEMENT/NETWORK/SERVICES/
<port>
.AuthenticationEnabled=
<status>
ç
CALL /V1/MANAGEMENT/NETWORK/SERVICES/HTTP:restart()
æ
mO /V1/MANAGEMENT/NETWORK/SERVICES/HTTP:restart=
Parameters
Identifier
Parameter description
Parameter values
<port>
Port type
HTTP
HTTPS
<status>
Authentication enabled
Authentication disabled
true
false
Example
ç
SET /V1/MANAGEMENT/NETWORK/SERVICES/HTTP.AuthenticationEnabled=true
æ
pw /V1/MANAGEMENT/NETWORK/SERVICES/HTTP.AuthenticationEnabled=true
ç
CALL /V1/MANAGEMENT/NETWORK/SERVICES/HTTP:restart()
æ
mO /V1/MANAGEMENT/NETWORK/SERVICES/HTTP:restart=
INFO:
Restart HTTP(S) Services is required after the authentication settings changed.
8.14.7.
Restart Network Services
DIFFERENCE:
This command is available from 1.2.0 firmware package.
Command and Response
#http #https
ç
CALL
·
/V1/MANAGEMENT/NETWORK/SERVICES/
<port>
:restart()
æ
mO·/V1/MANAGEMENT/NETWORK/SERVICES/
<port>
:restart=
Parameters
Identifier
Parameter description
Parameter values
<port>
Port type
HTTP
HTTPS
Example
ç
CALL /V1/MANAGEMENT/NETWORK/SERVICES/HTTP:restart()
æ
mO /V1/MANAGEMENT/NETWORK/SERVICES/HTTP:restart=