signon
8.58
|
Daemon side representation of authentication session. More...
#include <signonsessioncore.h>
Public Slots | |
QStringList | queryAvailableMechanisms (const QStringList &wantedMechanisms) |
void | process (const QDBusConnection &connection, const QDBusMessage &message, const QVariantMap &sessionDataVa, const QString &mechanism, const QString &cancelKey) |
void | cancel (const QString &cancelKey) |
void | setId (quint32 id) |
void | credentialsSystemReady () |
![]() | |
static void | destroyUnused () |
Deletes all disposable object for which the inactivity time has elapsed. More... | |
Signals | |
void | stateChanged (const QString &requestId, int state, const QString &message) |
Public Member Functions | |
virtual | ~SignonSessionCore () |
quint32 | id () const |
QString | method () const |
bool | setupPlugin () |
void | destroy () |
Performs any predestruction operations and the destruction itself. More... | |
![]() | |
SignonDisposable (int maxInactivity, QObject *parent) | |
Construct an object that can be automatically destroyed after having being unused for seconds. More... | |
void | keepInUse () const |
Mark the object as used. More... | |
void | setAutoDestruct (bool value=true) const |
Mark the object as used. More... | |
Static Public Member Functions | |
static SignonSessionCore * | sessionCore (const quint32 id, const QString &method, SignonDaemon *parent) |
static void | stopAllAuthSessions () |
static QStringList | loadedPluginMethods (const QString &method) |
![]() | |
static void | invokeOnIdle (int maxInactivity, QObject *object, const char *member) |
Invoke the specified method on when there are no disposable objects for more than seconds. More... | |
Protected Member Functions | |
SignonSessionCore (quint32 id, const QString &method, int timeout, QObject *parent) | |
void | childEvent (QChildEvent *ce) |
void | customEvent (QEvent *event) |
![]() | |
virtual | ~SignonDisposable () |
Daemon side representation of authentication session.
Definition at line 50 of file signonsessioncore.h.
|
virtual |
Definition at line 97 of file signonsessioncore.cpp.
|
protected |
Definition at line 74 of file signonsessioncore.cpp.
References credentialsSystemReady(), SignonDaemonNS::CredentialsAccessManager::instance(), SIGNON_UI_DAEMON_OBJECTPATH, and SIGNON_UI_SERVICE.
Referenced by sessionCore().
|
slot |
Definition at line 254 of file signonsessioncore.cpp.
References SignonDaemonNS::PluginProxy::cancel(), SignonUiAdaptor::cancelUiRequest(), SignonDaemonNS::RequestData::m_msg, and TRACE.
Referenced by SignonDaemonNS::SignonAuthSessionAdaptor::cancel(), and SignonDaemonNS::SignonAuthSession::cancel().
|
protected |
Definition at line 814 of file signonsessioncore.cpp.
References SignonDaemonNS::SignonDisposable::destroyUnused(), and SignonDaemonNS::SignonDisposable::keepInUse().
|
slot |
Definition at line 944 of file signonsessioncore.cpp.
Referenced by SignonSessionCore().
|
protected |
Definition at line 822 of file signonsessioncore.cpp.
References SignonDaemonNS::SignonDisposable::keepInUse(), SignonDaemonNS::PluginProxy::processRefresh(), SignonDaemonNS::PluginProxy::processUi(), SignonDaemonNS::SignonDisposable::setAutoDestruct(), SIGNON_SECURE_STORAGE_AVAILABLE, SIGNON_SECURE_STORAGE_NOT_AVAILABLE, SSO_KEY_PASSWORD, SSO_KEY_USERNAME, and TRACE.
|
virtual |
Performs any predestruction operations and the destruction itself.
Reimplement this for smoother control.
Reimplemented from SignonDaemonNS::SignonDisposable.
Definition at line 924 of file signonsessioncore.cpp.
References SignonDaemonNS::SignonDisposable::keepInUse().
quint32 SignonSessionCore::id | ( | ) | const |
Definition at line 139 of file signonsessioncore.cpp.
References SignonDaemonNS::SignonDisposable::keepInUse(), and TRACE.
Referenced by setId().
|
static |
Definition at line 210 of file signonsessioncore.cpp.
References method(), and queryAvailableMechanisms().
Referenced by SignonDaemonNS::SignonDaemon::queryMechanisms().
QString SignonSessionCore::method | ( | ) | const |
Definition at line 146 of file signonsessioncore.cpp.
References SignonDaemonNS::SignonDisposable::keepInUse(), and TRACE.
Referenced by loadedPluginMethods(), and SignonDaemonNS::SignonAuthSessionAdaptor::process().
|
slot |
Definition at line 237 of file signonsessioncore.cpp.
References SignonDaemonNS::CredentialsAccessManager::instance(), and SignonDaemonNS::SignonDisposable::keepInUse().
Referenced by SignonDaemonNS::SignonAuthSessionAdaptor::process(), and SignonDaemonNS::SignonAuthSession::process().
|
slot |
Definition at line 226 of file signonsessioncore.cpp.
References SignonDaemonNS::SignonDisposable::keepInUse(), and SignonDaemonNS::PluginProxy::mechanisms().
Referenced by loadedPluginMethods(), SignonDaemonNS::SignonAuthSessionAdaptor::queryAvailableMechanisms(), and SignonDaemonNS::SignonAuthSession::queryAvailableMechanisms().
|
static |
Definition at line 108 of file signonsessioncore.cpp.
References SignonDaemonNS::SignonDaemon::authSessionTimeout(), setupPlugin(), SignonSessionCore(), and TRACE.
Referenced by SignonDaemonNS::SignonAuthSession::createAuthSession().
|
slot |
Definition at line 301 of file signonsessioncore.cpp.
References SignonDaemonNS::SignonIdentityInfo::accessControlList(), SignonDaemonNS::AccessControlManagerHelper::appIdOfPeer(), BLAME, SignonDaemonNS::StoreOperation::Blob, SignonUiAdaptor::cancelUiRequest(), SignonDaemonNS::SignonIdentityInfo::caption(), SignonDaemonNS::StoreOperation::Credentials, SignonDaemonNS::CredentialsDB::credentials(), SignonDaemonNS::CredentialsAccessManager::credentialsDB(), SignonDaemonNS::SignonIdentityInfo::id(), id(), SignonDaemonNS::AccessControlManagerHelper::instance(), SignonDaemonNS::CredentialsAccessManager::instance(), SignonDaemonNS::CredentialsDB::isSecretsDBOpen(), SignonDaemonNS::SignonDisposable::keepInUse(), SignonDaemonNS::CredentialsAccessManager::keysAvailable(), SignonDaemonNS::CredentialsDB::loadData(), SignonDaemonNS::StoreOperation::m_authMethod, SignonDaemonNS::StoreOperation::m_blobData, SignonDaemonNS::RequestData::m_cancelKey, SignonDaemonNS::RequestData::m_conn, SignonDaemonNS::StoreOperation::m_info, SignonDaemonNS::RequestData::m_mechanism, SignonDaemonNS::RequestData::m_msg, SignonDaemonNS::RequestData::m_params, SignonDaemonNS::StoreOperation::m_storeType, SignonDaemonNS::mergeVariantMaps(), SignonDaemonNS::SignonIdentityInfo::password(), SignonDaemonNS::AccessControlManagerHelper::pidOfPeer(), SignonDaemonNS::PluginProxy::process(), SignonUiAdaptor::queryDialog(), SignonUiAdaptor::refreshDialog(), SignonDaemonNS::SignonIdentityInfo::setPassword(), SignonDaemonNS::SignonIdentityInfo::setUserName(), SignonDaemonNS::SignonIdentityInfo::setValidated(), SIGNON_SECURE_STORAGE_NOT_AVAILABLE, SSO_KEY_CAPTION, SSO_KEY_PASSWORD, SSO_KEY_USERNAME, stateChanged(), SignonDaemonNS::CredentialsDB::storeData(), TRACE, SignonDaemonNS::CredentialsDB::updateCredentials(), SignonDaemonNS::SignonIdentityInfo::userName(), and SignonDaemonNS::SignonIdentityInfo::validated().
Referenced by SignonDaemonNS::SignonAuthSessionAdaptor::setId(), and SignonDaemonNS::SignonAuthSession::setId().
bool SignonSessionCore::setupPlugin | ( | ) |
Definition at line 153 of file signonsessioncore.cpp.
References SignonDaemonNS::PluginProxy::createNewPluginProxy(), stateChanged(), and TRACE.
Referenced by sessionCore().
|
signal |
Referenced by setId(), and setupPlugin().
|
static |
Definition at line 201 of file signonsessioncore.cpp.
Referenced by SignonDaemonNS::SignonAuthSession::stopAllAuthSessions().