|
@@ -8,6 +8,7 @@
|
|
|
* Copyright 2017 (c) Thomas Stalder, Blue Time Concept SA
|
|
|
* Copyright 2018 (c) Daniel Feist, Precitec GmbH & Co. KG
|
|
|
* Copyright 2018 (c) Fabian Arndt, Root-Core
|
|
|
+ * Copyright 2019 (c) Kalycito Infotech Private Limited
|
|
|
*/
|
|
|
|
|
|
#include <open62541/client_config_default.h>
|
|
@@ -70,6 +71,9 @@ createEndpoint(UA_ServerConfig *conf, UA_EndpointDescription *endpoint,
|
|
|
endpoint->transportProfileUri =
|
|
|
UA_STRING_ALLOC("http://opcfoundation.org/UA-Profile/Transport/uatcp-uasc-uabinary");
|
|
|
|
|
|
+
|
|
|
+ endpoint->securityLevel = (UA_Byte) securityMode;
|
|
|
+
|
|
|
|
|
|
UA_StatusCode retval = UA_Array_copy(conf->accessControl.userTokenPolicies,
|
|
|
conf->accessControl.userTokenPoliciesSize,
|