namespace ZB.MOM.WW.OtOpcUa.Host.Configuration { /// /// Authentication and role-based access control settings for the OPC UA server. /// public class AuthenticationConfiguration { /// /// Gets or sets a value indicating whether anonymous OPC UA connections are accepted. /// public bool AllowAnonymous { get; set; } = true; /// /// Gets or sets a value indicating whether anonymous users can write tag values. /// When false, only authenticated users can write. Existing security classification restrictions still apply. /// public bool AnonymousCanWrite { get; set; } = true; /// /// Gets or sets the LDAP authentication settings. When Ldap.Enabled is true, /// credentials are validated against the LDAP server and group membership determines permissions. /// public LdapConfiguration Ldap { get; set; } = new(); } }