Commit Graph

24 Commits

Author SHA1 Message Date
Julius Pfrommer 94a771cb80 Merge remote-tracking branch 'origin/1.4' into merge_14_master_25 2025-01-25 19:07:11 +01:00
Noel Graf 8fb31b2e96 fix(example): Allow connection with username and password without encryption 2025-01-24 22:29:33 +01:00
Julius Pfrommer 980f96a9d3 refactor(examples): Move the client_access_control_encrypt.c example to the correct folder 2024-12-10 08:28:30 +01:00
Julius Pfrommer 705801a55c refactor(examples): Use the NS0ID shorthand in the examples 2024-07-26 08:30:16 +02:00
Julius Pfrommer d156e82123 refactor(examples): Improve server_access_control.c to show the intended usage 2023-08-21 13:36:09 +02:00
Julius Pfrommer 928931ec36 refactor(core): Move architecture-specific definition out of the public headers 2023-07-28 21:42:56 +02:00
Julius Pfrommer 2d9bf66e15 feat(server): Use dedicate PKI for SecureChannel and Session certificates 2023-06-27 07:17:46 +02:00
Julius Pfrommer 3dc93eaa90 refactor(examples): Return EXIT_SUCCESS for the valgrind run 2023-02-20 02:11:56 +01:00
Julius Pfrommer 2c87f1ed06 feat(server): Enable x509 certificate authentication in the server config 2021-09-24 03:16:20 +02:00
Julius Pfrommer cbde3c8803 refactor(client): Simplify the client connection API 2020-05-05 09:33:57 +02:00
Julius Pfrommer afe1f3d98e refactor(core): Rename deleteMembers to clear in UA_AccessControl 2019-10-03 15:14:24 +02:00
Julius Pfrommer 85c4d53b1c Config: Configure the UserTokenPolicy; Warn if password is unencrypted 2019-06-23 19:39:57 +02:00
Julius Pfrommer fd08d012d9 Server: Initialize the config in the server 2019-04-23 00:41:32 +02:00
Stefan Profanter 63f3653ff1 Additional header cleanup and consistent name of ns generated files 2019-03-21 20:16:31 +01:00
Julius Pfrommer c9c818868f Move header files to a more unix-like structure
This commit drops the 'ua_' prefix and changes the public includes
to the form `#include <open62541/server.h>` instead of the old
`#include <ua_server.h>`
2019-03-21 20:16:31 +01:00
Frank Meerkoetter c035e48ac3 Exand the access control example
Expand the example a bit by showing how to have the server check for a username/password.
2019-02-14 15:34:17 +01:00
Frank Meerkoetter 1648fb8aaa Use EXIT_SUCCESS/FAILURE for the examples
Make use of EXIT_SUCCESS and EXIT_FAILURE from stdlib.h.
The previous approach of returning a value from UA_StatusCode
was often broken as an exit code can (portably) only be between 0 and 125.
2019-02-09 09:34:46 +01:00
Frank Meerkoetter 418f547587 Remove superfluous scope 2019-02-07 11:08:26 +01:00
Julius Pfrommer b4c9fc37eb Client: Initialize client config inside the client structure
Temporarily disable encyrption
2019-01-30 18:45:42 +01:00
Stefan Profanter d715db1057 Stack: Use non-amalgamated headers in all the examples
For consistency we recommend using non-amalgamation install, thus the
examples should also use the non-amalgamated headers.
2018-12-17 22:40:07 +01:00
Julius Pfrommer eb9409b435 Examples: Use _clear instead of _deleteMembers for the examples 2018-12-09 19:40:02 +01:00
Jose Cabral 1605455a74 Fixes #1925 and clean examples 2018-07-25 08:17:51 +02:00
Julius Pfrommer 34cff1d606 Add a context for the AccessControl plugin 2018-03-06 12:49:17 +01:00
Christian von Arnim ecbd67bd11 Add example client/server for nodemanagement access control 2017-09-17 20:24:40 +02:00