Echelon OpenLNS User Manual

Page 104

Advertising
background image

OpenLNS Programmer's Reference

67

object’s

AuthenticationKey

property.

2. Set the

AuthenticationEnabled

property of the

AppDevice

object that represents the

System

object’s

NetworkServiceDevice

object to True. This enables

authentication for all Network Service Devices on the

system. As a result, the authentication key used by each

Full and Lightweight client application must match the

authentication key established in Step 1 the next time

any of those applications opens the network.

Note that if

you have set the authentication key used by a Full

client's network interface to match the authentication

key established in step 1, then other clients can use that

connection without re-specifying the key, as long the first

Full client remains connected to the server.

3. Set the

AuthenticationEnabled

property to True the

AppDevice

objects that will use authentication.

Disabling Authentication

To disable authentication for all the devices in a system,

follow these steps:

1. Set the AuthenticationEnabled property to False on the

AppDevice

object

that represents the System object’s

NetworkServiceDevice. This disables authentication for

all application devices, routers and Network Service

Devices operating on the system.

2. Set the System object’s AuthenticationKey property to ffff

ffff ffff if the network is using 48-bit authentication, or

to ffff ffff ffff ffff ffff if the network is using 96-bit

authentication.

Availability

Local, full, and lightweight clients.

Syntax

authEnabled = Object.AuthenticationEnabled

Element

Description

authEnabled

Boolean value indicating whether an

application device uses network

management authentication.

If the SecurityLevel property of the

System

object is set to

lcaSecurityLevelKeyDistributionE

nabled, setting this property to True

enables network management

authentication and installs the system

key in the device or router.
If the SecurityLevel is not

lcaSecurityLevelKeyDistributionE

nabled, setting this property to True

implies that network management

authentication will be enabled by the

Object Server, but the system key will

Advertising