|
PLCnext API Documentation
22.9.0.33
|
Interface to be implemented by an additional authorization provider, which is loaded from a user-provided module. Every loaded authorization provider further restricts the default access rights. More...
#include <IAuthorizationProvider.hpp>
Public Types | |
| using | Ptr = std::shared_ptr< IAuthorizationProvider > |
Public Member Functions | |
| IAuthorizationProvider (void)=default | |
| Constructs an IAuthorizationProvider instance. More... | |
| IAuthorizationProvider (const IAuthorizationProvider &arg)=default | |
| Copy constructor. More... | |
| IAuthorizationProvider (IAuthorizationProvider &&arg)=default | |
| Move constructor. More... | |
| IAuthorizationProvider & | operator= (const IAuthorizationProvider &arg)=default |
| Copy-assignment operator. More... | |
| IAuthorizationProvider & | operator= (IAuthorizationProvider &&arg)=default |
| Move-assignment operator. More... | |
| virtual | ~IAuthorizationProvider (void)=default |
| Destructs this instance and frees all resources. More... | |
| virtual boolean | SessionHasPermissionOnObject (const String &objectName, Operation operation, SessionInfo &session)=0 |
| This is called only if the default authorization check on the session returns true, in which case the loaded authorization provider may further restrict access rights. More... | |
Interface to be implemented by an additional authorization provider, which is loaded from a user-provided module. Every loaded authorization provider further restricts the default access rights.
|
default |
Constructs an IAuthorizationProvider instance.
|
default |
Copy constructor.
|
default |
Move constructor.
|
virtualdefault |
Destructs this instance and frees all resources.
|
default |
Copy-assignment operator.
|
default |
Move-assignment operator.
|
pure virtual |
This is called only if the default authorization check on the session returns true, in which case the loaded authorization provider may further restrict access rights.
| objectName | Object name as mentioned in permission configuration files, it identifies the object on which the operation is intended to be performed. |
| operation | Operation as mentioned in permission configuration files |
| session | Session meta info |
false if the permission should be blocked by this provider.