Pages
API Documentation
On this page

SignOn::AbstractAccessControlManager Class

Helps filtering incoming Signon Daemon requests, based on security privileges of the client processes. More...

  • Header: #include <SignOn/AbstractAccessControlManager>
  • Inherits: QObject

List of all members, including inherited members

Public Functions

Detailed Description

Member Function Documentation

[explicit] AbstractAccessControlManager::AbstractAccessControlManager(QObject *parent = 0)

Constructs a AbstractAccessControlManager object with the given parent.

[virtual noexcept] AbstractAccessControlManager::~AbstractAccessControlManager()

Destructor.

[virtual] QString AbstractAccessControlManager::appIdOfPeer(const QDBusConnection &peerConnection, const QDBusMessage &peerMessage)

Looks up for the application identifier of a specific client process. peerConnection is the connection over which the message was sent, and peerMessage the request message sent over DBUS by the process.

Returns the application identifier of the process, or an empty string if none found.

[virtual] SignOn::AccessReply *AbstractAccessControlManager::handleRequest(const SignOn::AccessRequest &request)

Asynchronously handle an access request from a client; request describes the requested access.

Returns an AccessReply object which can be used to obtain the asynchronous reply.

[virtual] bool AbstractAccessControlManager::isPeerAllowedToAccess(const QDBusConnection &peerConnection, 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 depends on the concrete implementation of this function.

peerConnection is the connection over which the message was sent, peerMessage the request message sent over DBUS by the process, and securityContext the security context to be checked against.

Returns true, if the peer is allowed, false otherwise.

[virtual] QString AbstractAccessControlManager::keychainWidgetAppId()

Returns the application identifier of the keychain widget

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.