signon
8.42
|
Smack implementation of AbstractAccessControlManager ingroup Accounts_and_SSO_Framework. More...
#include <smack-access-control-manager.h>
Public Member Functions | |
SmackAccessControlManager (QObject *parent=0) | |
Constructs a SmackAccessControlManager object with the given parent. | |
~SmackAccessControlManager () | |
Destroys a SmackAccessControlManager 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 () |
Smack implementation of AbstractAccessControlManager ingroup Accounts_and_SSO_Framework.
Definition at line 41 of file smack-access-control-manager.h.
SmackAccessControlManager::SmackAccessControlManager | ( | QObject * | parent = 0 | ) |
Constructs a SmackAccessControlManager object with the given parent.
parent |
Definition at line 31 of file smack-access-control-manager.cpp.
SmackAccessControlManager::~SmackAccessControlManager | ( | ) |
Destroys a SmackAccessControlManager object.
Definition at line 36 of file smack-access-control-manager.cpp.
QString SmackAccessControlManager::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 63 of file smack-access-control-manager.cpp.
References TRACE.
bool SmackAccessControlManager::isPeerAllowedToAccess | ( | const QDBusMessage & | peerMessage, |
const QString & | securityContext | ||
) |
Checks if a client process is allowed to access objects with a certain security context.
The access type to be checked is read or execute.
peerMessage,the | request message sent over DBUS by the process. |
securityContext,the | securityContext to be checked against. |
Definition at line 45 of file smack-access-control-manager.cpp.
References TRACE.
QString SmackAccessControlManager::keychainWidgetAppId | ( | ) |
Definition at line 40 of file smack-access-control-manager.cpp.