|
open62541 1.4.15
Open source implementation of OPC UA
|
Go to the source code of this file.
Data Structures | |
| struct | UA_UsernamePasswordLogin |
Typedefs | |
| typedef UA_StatusCode(* | UA_UsernamePasswordLoginCallback) (const UA_String *userName, const UA_ByteString *password, size_t usernamePasswordLoginSize, const UA_UsernamePasswordLogin *usernamePasswordLogin, void **sessionContext, void *loginContext) |
Functions | |
| UA_EXPORT UA_StatusCode | UA_AccessControl_default (UA_ServerConfig *config, UA_Boolean allowAnonymous, const UA_ByteString *userTokenPolicyUri, size_t usernamePasswordLoginSize, const UA_UsernamePasswordLogin *usernamePasswordLogin) |
| UA_EXPORT UA_StatusCode | UA_AccessControl_defaultWithLoginCallback (UA_ServerConfig *config, UA_Boolean allowAnonymous, const UA_ByteString *userTokenPolicyUri, size_t usernamePasswordLoginSize, const UA_UsernamePasswordLogin *usernamePasswordLogin, UA_UsernamePasswordLoginCallback loginCallback, void *loginContext) |
| typedef UA_StatusCode(* UA_UsernamePasswordLoginCallback) (const UA_String *userName, const UA_ByteString *password, size_t usernamePasswordLoginSize, const UA_UsernamePasswordLogin *usernamePasswordLogin, void **sessionContext, void *loginContext) |
Definition at line 21 of file accesscontrol_default.h.
| UA_EXPORT UA_StatusCode UA_AccessControl_default | ( | UA_ServerConfig * | config, |
| UA_Boolean | allowAnonymous, | ||
| const UA_ByteString * | userTokenPolicyUri, | ||
| size_t | usernamePasswordLoginSize, | ||
| const UA_UsernamePasswordLogin * | usernamePasswordLogin | ||
| ) |
Default access control.
The login can be anonymous, username-password or certificate-based. A logged-in user has all access rights.
The plugin stores the UserIdentityToken in the session context. So that cannot be used for other purposes.
The certificate verification plugin lifecycle is moved to the access control system. So it is cleared up eventually together with the AccessControl.
| UA_EXPORT UA_StatusCode UA_AccessControl_defaultWithLoginCallback | ( | UA_ServerConfig * | config, |
| UA_Boolean | allowAnonymous, | ||
| const UA_ByteString * | userTokenPolicyUri, | ||
| size_t | usernamePasswordLoginSize, | ||
| const UA_UsernamePasswordLogin * | usernamePasswordLogin, | ||
| UA_UsernamePasswordLoginCallback | loginCallback, | ||
| void * | loginContext | ||
| ) |