LibreOffice Module svl (master) 1
|
#include <syscreds.hxx>
Public Member Functions | |
SysCredentialsConfig () | |
OUString | find (OUString const &rURL) |
void | add (OUString const &rURL, bool bPersistent) |
void | remove (OUString const &rURL) |
css::uno::Sequence< OUString > | list (bool bOnlyPersistent) |
void | persistentConfigChanged () |
Private Member Functions | |
void | initCfg (std::unique_lock< std::mutex > &rGuard) |
void | writeCfg (std::unique_lock< std::mutex > &rGuard) |
Private Attributes | |
std::mutex | m_aMutex |
std::set< OUString > | m_aMemContainer |
std::set< OUString > | m_aCfgContainer |
SysCredentialsConfigItem | m_aConfigItem |
bool | m_bCfgInited |
Definition at line 56 of file syscreds.hxx.
SysCredentialsConfig::SysCredentialsConfig | ( | ) |
Definition at line 165 of file syscreds.cxx.
void SysCredentialsConfig::add | ( | OUString const & | rURL, |
bool | bPersistent | ||
) |
Definition at line 203 of file syscreds.cxx.
References initCfg(), m_aCfgContainer, m_aMemContainer, m_aMutex, and writeCfg().
Referenced by PasswordContainer::addUrl().
OUString SysCredentialsConfig::find | ( | OUString const & | rURL | ) |
Definition at line 189 of file syscreds.cxx.
References aURL, initCfg(), m_aCfgContainer, m_aMemContainer, and m_aMutex.
Referenced by PasswordContainer::findUrl().
|
private |
Definition at line 171 of file syscreds.cxx.
References SysCredentialsConfigItem::getSystemCredentialsURLs(), m_aCfgContainer, m_aConfigItem, and m_bCfgInited.
uno::Sequence< OUString > SysCredentialsConfig::list | ( | bool | bOnlyPersistent | ) |
Definition at line 236 of file syscreds.cxx.
References initCfg(), m_aCfgContainer, m_aMemContainer, m_aMutex, n, and nCount.
Referenced by PasswordContainer::getUrls().
void SysCredentialsConfig::persistentConfigChanged | ( | ) |
Definition at line 263 of file syscreds.cxx.
References m_aMutex, and m_bCfgInited.
Referenced by SysCredentialsConfigItem::Notify().
void SysCredentialsConfig::remove | ( | OUString const & | rURL | ) |
Definition at line 225 of file syscreds.cxx.
References initCfg(), m_aCfgContainer, m_aMemContainer, m_aMutex, and writeCfg().
Referenced by PasswordContainer::removeUrl().
|
private |
Definition at line 182 of file syscreds.cxx.
References comphelper::containerToSequence(), m_aCfgContainer, m_aConfigItem, m_bCfgInited, and SysCredentialsConfigItem::setSystemCredentialsURLs().
|
private |
Definition at line 74 of file syscreds.hxx.
Referenced by add(), find(), initCfg(), list(), remove(), and writeCfg().
|
private |
Definition at line 75 of file syscreds.hxx.
Referenced by initCfg(), and writeCfg().
|
private |
|
private |
Definition at line 72 of file syscreds.hxx.
Referenced by add(), find(), list(), persistentConfigChanged(), and remove().
|
private |
Definition at line 76 of file syscreds.hxx.
Referenced by initCfg(), persistentConfigChanged(), and writeCfg().