Hi guys,
as a newbie to OPC UA I run an OPC UA server on a X20CP1584 with very basic Hello-World code. Logged in as anonymous, no user role. Next step: Where do I enter username and password in AS4.12 to connect to the server? In the pysical view I see the tree: X20CP1584 → Konfiguration → OPC UA System aktivieren → OPC UA System → Sicherheit → Authentifizierungsmethoden → Benutzername ‘zulassen/ablehnen’.
But there is no pull down menu for username/password whatsoever. Did I skip another importand step before, e.g. user role settings…?
@Alexander Hefner: I read your answer regarding a similar topic but it seems during the time of different AS releases BuR moved this entry fields to another tab…
Any help is highly appreciated.
Fips
Hi,
as the user role system is used by different functions of the operating system (by OPC UA, but also other user role dependent functions), in the OPCUA server you only define that user + password should be used, but not the user + password itself
Users and roles configuration takes place in configuration view → AccessAndSecurity → UserRoleSystem → User.user +Role.role (these are the default names for the user and role definition files). In the user file, the usernames and passwords ar defined.
And please mention, that this is still only the user + role definition.
The “link” to which user can access what information in OPCUA (e.g. read / write access of a OPCUA tag) is based on the role access definition in the OPCUA default view editor in the tag properties.
Hope that helps a bit, best regards!