Commit Graph
32 Commits
Author SHA1 Message Date
Jonas Green 632d490d6d Added copyright notices for HMS Industrial Networks contributions (#3458) 2020-02-25 14:40:07 +01:00
Jonas Green 63d65e0ebf feat(server): Extended the access control plugin with check for browsing nodes
The PermissionType (Part 3) defines 17 permissions. Currently the
access control plugin can control all but 2 of them. Those are browse
and ReceiveEvents. This change adds check for browse permission of
nodes.
2020-02-21 18:27:21 +01:00
Stefan Profanter f05bafc25d fix: Accesscontrol clear check for valid memory 2019-10-14 15:59:05 +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
Jonas Green 5d375771aa Security: Added support for server to decrypt passwords
The password is decrypted by the server implementation before calling
the access control plugin.
2019-06-23 19:39:57 +02:00
Stefan Profanter 6fe8453249 Untabify
Used command:
`find . \( -name '*.c' -o -name '*.h' \) -not \( -path "./deps/*" -prune \) ! -type d -exec bash -c 'expand -t 4 "$0" > /tmp/e && mv /tmp/e "$0"' {} \;`
2019-05-25 09:09:46 +02:00
Stefan Profanter d31ae132ad Stack: Avoid double free/heap use after free
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=14567

Credit to oss-fuzz
2019-05-07 07:05:31 +02: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
Julius Pfrommer 6c0442ee6d Server: Make Historizing method conditional on build flags (fix amalgamation) 2019-02-01 09:02:13 +01:00
Peter Rustler a4c968f4c6 server_history_update: Add access control to alter historical data. 2019-01-30 17:36:23 +01:00
Stefan Profanter 4b7c5c251c Stack: Fix OOM check for access control
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11506

Credit to oss-fuzz
2018-11-30 08:49:51 +01:00
Julius Pfrommer 0afd439a21 AccessControl: Forward endpoint information and the remote certificate
for the SecureChannel to the AccessControl plugin for session
authentication
2018-07-03 00:12:53 +02:00
Alexander Schrode e447dc5b6e Fixed Typos 2018-04-04 16:21:00 +02:00
Alexander Schrode 560f685ff9 AccessControlContext not initialized
When calling UA_AccessControl_default with no username password (usernamePasswordLoginSize = 0) context->usernamePasswordLoginSize is not initialized. This causes a crash when deleteMembers_default is called.
2018-04-04 16:21:00 +02:00
Julius Pfrommer 67cbd86018 Set the correct copyright for @jpfr 2018-03-23 12:40:43 +01:00
Julius Pfrommer 23ced3c832 Interpret empty UserIdentityToken as anonymous login 2018-03-10 17:37:33 +01:00
Julius Pfrommer 32bf04e672 Don't encrypt username/password over an already encrypted SecureChannel 2018-03-10 15:52:00 +01:00
Julius Pfrommer 34cff1d606 Add a context for the AccessControl plugin 2018-03-06 12:49:17 +01:00
Stefan Profanter c2305461a3 Copyright holders at beginning of file (#1514)
* New script to add copyright names (see #1456)

* Use file history instead of git blame

* Order authors by first commit and modify displayed names

* fixup

* Add generated copyright holders
2018-01-26 14:14:25 +01:00
StalderT 7332a100ee remove unneeded whitespaces (#1552)
* remove unneeded whitespaces

* fix generate_datatypes.py
2018-01-26 14:12:36 +01:00
Mark 8753f464a1 improve code docs in ua_accesscontrol_default.c 2018-01-17 15:05:00 +01:00
Julius Pfrommer 394df3be8d finish nodeContext pointer for every node 2017-08-18 15:00:00 +02:00
Mark Giraud b15ed3ae5f Fix/accescontrol default (#1113)
* Fixed mismatching function declaration and the resulting build error

* Fix #1112
2017-07-19 11:57:57 +02:00
Julius Pfrommer 454c6ed8a3 move access control to a separate plugin 2017-06-29 12:12:05 +02:00
Julius Pfrommer 7781da628e move username definitions to the access control plugin; clean up 2017-06-17 12:41:41 +02:00
FlorianPalm 44d29026dc removed license note from files of the plugins folder 2017-01-27 18:58:50 +01:00
FlorianPalm 55cbdc83d7 License change: added license note at the beginning of every .c/.h file 2017-01-27 18:46:56 +01:00
frax2222 5efd75e5dd Import vs2008 patch from @carljoerger and @frax2222 2017-01-13 12:08:28 +01:00
Julius Pfrommer fbac663ef4 Merge branch '0.2' 2016-12-16 11:46:25 +01:00
Julius Pfrommer 8282de5af3 feature: additional userExecutable callback for method + object; use
callback for reading access rights attributes
2016-11-04 15:00:52 +01:00
Julius Pfrommer 860b800b82 feature: access control plugin; give session handle to method callbacks 2016-11-04 12:27:39 +01:00