LibreOffice Module svl (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SysCredentialsConfig Class Reference

#include <syscreds.hxx>

Collaboration diagram for SysCredentialsConfig:
[legend]

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
 

Detailed Description

Definition at line 56 of file syscreds.hxx.

Constructor & Destructor Documentation

◆ SysCredentialsConfig()

SysCredentialsConfig::SysCredentialsConfig ( )

Definition at line 165 of file syscreds.cxx.

Member Function Documentation

◆ add()

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().

◆ find()

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().

◆ initCfg()

void SysCredentialsConfig::initCfg ( std::unique_lock< std::mutex > &  rGuard)
private

◆ list()

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().

◆ persistentConfigChanged()

void SysCredentialsConfig::persistentConfigChanged ( )

Definition at line 263 of file syscreds.cxx.

References m_aMutex, and m_bCfgInited.

Referenced by SysCredentialsConfigItem::Notify().

◆ remove()

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().

◆ writeCfg()

void SysCredentialsConfig::writeCfg ( std::unique_lock< std::mutex > &  rGuard)
private

Member Data Documentation

◆ m_aCfgContainer

std::set< OUString > SysCredentialsConfig::m_aCfgContainer
private

Definition at line 74 of file syscreds.hxx.

Referenced by add(), find(), initCfg(), list(), remove(), and writeCfg().

◆ m_aConfigItem

SysCredentialsConfigItem SysCredentialsConfig::m_aConfigItem
private

Definition at line 75 of file syscreds.hxx.

Referenced by initCfg(), and writeCfg().

◆ m_aMemContainer

std::set< OUString > SysCredentialsConfig::m_aMemContainer
private

Definition at line 73 of file syscreds.hxx.

Referenced by add(), find(), list(), and remove().

◆ m_aMutex

std::mutex SysCredentialsConfig::m_aMutex
private

Definition at line 72 of file syscreds.hxx.

Referenced by add(), find(), list(), persistentConfigChanged(), and remove().

◆ m_bCfgInited

bool SysCredentialsConfig::m_bCfgInited
private

Definition at line 76 of file syscreds.hxx.

Referenced by initCfg(), persistentConfigChanged(), and writeCfg().


The documentation for this class was generated from the following files: