|
signon
8.40
|
MSSF implementation of AbstractAccessControlManager. More...
#include <mssf-access-control-manager.h>
Public Member Functions | |
| MSSFAccessControlManager (QObject *parent=0) | |
| Constructs a MSSFAccessControlManager object with the given parent. | |
| ~MSSFAccessControlManager () | |
| Destroys a MSSFAccessControlManager object. | |
| bool | isPeerAllowedToAccess (const QDBusMessage &peerMessage, const QString &securityContext) |
| Checks if a client process is allowed to access objects with a certain security context. | |
| QString | appIdOfPeer (const QDBusMessage &peerMessage) |
| Looks up for the application identifier of a specific client process. | |
| QString | keychainWidgetAppId () |
MSSF implementation of AbstractAccessControlManager.
Definition at line 39 of file mssf-access-control-manager.h.
| MSSFAccessControlManager::MSSFAccessControlManager | ( | QObject * | parent = 0 | ) |
Constructs a MSSFAccessControlManager object with the given parent.
| parent |
Definition at line 33 of file mssf-access-control-manager.cpp.
Destroys a MSSFAccessControlManager object.
Definition at line 38 of file mssf-access-control-manager.cpp.
| QString MSSFAccessControlManager::appIdOfPeer | ( | const QDBusMessage & | peerMessage | ) |
Looks up for the application identifier of a specific client process.
| peerMessage,the | request message sent over DBUS by the process. |
Definition at line 64 of file mssf-access-control-manager.cpp.
References SSO_AEGIS_PACKAGE_ID_TOKEN_PREFIX.
| bool MSSFAccessControlManager::isPeerAllowedToAccess | ( | const QDBusMessage & | peerMessage, |
| const QString & | securityContext | ||
| ) |
Checks if a client process is allowed to access objects with a certain security context.
The notion of access type doesn't exists in MSSF, instead only token possesion is checked.
| peerMessage,the | request message sent over DBUS by the process. |
| securityContext,the | securityContext to be checked against. |
Definition at line 47 of file mssf-access-control-manager.cpp.
References TRACE.
| QString MSSFAccessControlManager::keychainWidgetAppId | ( | ) |
Definition at line 42 of file mssf-access-control-manager.cpp.