OPC UA clients require you to configure an authentication
scheme. This scheme assures that the identity of each user can be
verified. It may use roles to limit user access to only certain areas.
The scheme authenticates the user when he or she enters a username
and password, which are already configured for the user.
Note: When making any server-side changes, you must first
disable and then re-enable the server.
- In the Nav tree, expand , right-click OpcUaServer and click .
The server’s AX Property Sheet opens.
- Under the Enabled property, click
the drop-down list and click false.
The driver disables the OpcUaServer.
- In the Nav tree, expand .
- Drag the OpcUaAuthenticationScheme component from the opcUaServer palette to the
station’s Authentication Schemes subfolder.
- Expand and double-click UserService.
The User Manager opens.
- To add a single new user, click New and click OK.
A second New window opens.
- Configure these properties and click Ok.:
For Name enter the user’s name.
For Authentication Scheme Name, select
a scheme from the drop-down list.
For Password, create a strong password
and enter it a second time in the Confirm property.
A strong password requires at least ten characters, plus at
least one of each of the following characters: lowercase, uppercase,
and a digit.
- If you use the same default password for all new users
set the Force Reset At Next Login value to true.
- To enable the server, expand , right-click OpcUaServer and click .
The AX Property Sheet opens.
- Set Enabled to true and click Save.
The server is ready to support an OPC UA client user.