open62541 1.3.12
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, UA_CertificateVerification *verifyX509, const UA_ByteString *userTokenPolicyUri, size_t usernamePasswordLoginSize, const UA_UsernamePasswordLogin *usernamePasswordLogin) |
UA_EXPORT UA_StatusCode | UA_AccessControl_defaultWithLoginCallback (UA_ServerConfig *config, UA_Boolean allowAnonymous, UA_CertificateVerification *verifyX509, 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, | ||
UA_CertificateVerification * | verifyX509, | ||
const UA_ByteString * | userTokenPolicyUri, | ||
size_t | usernamePasswordLoginSize, | ||
const UA_UsernamePasswordLogin * | usernamePasswordLogin ) |
Default access control.
The log-in can be anonymous or username-password. A logged-in user has all access rights.
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, | ||
UA_CertificateVerification * | verifyX509, | ||
const UA_ByteString * | userTokenPolicyUri, | ||
size_t | usernamePasswordLoginSize, | ||
const UA_UsernamePasswordLogin * | usernamePasswordLogin, | ||
UA_UsernamePasswordLoginCallback | loginCallback, | ||
void * | loginContext ) |