LibreOffice Module extensions (master) 1
Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
extensions::config::ldap::LdapUserProfileBe Class Reference

Implements the PlatformBackend service, a specialization of the XPropertySet service for retrieving LDAP user profile configuration settings from an LDAP repository. More...

#include <ldapuserprofilebe.hxx>

Inheritance diagram for extensions::config::ldap::LdapUserProfileBe:
[legend]
Collaboration diagram for extensions::config::ldap::LdapUserProfileBe:
[legend]

Public Member Functions

 LdapUserProfileBe (const uno::Reference< uno::XComponentContext > &xContext)
 
virtual ~LdapUserProfileBe () override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &aServiceName) override
 
virtual uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual void SAL_CALL setPropertyValue (OUString const &, css::uno::Any const &) override
 
virtual css::uno::Any SAL_CALL getPropertyValue (OUString const &PropertyName) override
 
virtual void SAL_CALL addPropertyChangeListener (OUString const &, css::uno::Reference< css::beans::XPropertyChangeListener > const &) override
 
virtual void SAL_CALL removePropertyChangeListener (OUString const &, css::uno::Reference< css::beans::XPropertyChangeListener > const &) override
 
virtual void SAL_CALL addVetoableChangeListener (OUString const &, css::uno::Reference< css::beans::XVetoableChangeListener > const &) override
 
virtual void SAL_CALL removeVetoableChangeListener (OUString const &, css::uno::Reference< css::beans::XVetoableChangeListener > const &) override
 

Static Private Member Functions

static bool readLdapConfiguration (uno::Reference< uno::XComponentContext > const &context, LdapDefinition *definition, OUString *loggedOnUser)
 Check if LDAP is configured. More...
 
static bool getLdapStringParam (uno::Reference< container::XNameAccess > const &xAccess, const OUString &aLdapSetting, OUString &aServerParameter)
 

Private Attributes

LdapData data_
 
- Private Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 

Detailed Description

Implements the PlatformBackend service, a specialization of the XPropertySet service for retrieving LDAP user profile configuration settings from an LDAP repository.

Definition at line 50 of file ldapuserprofilebe.hxx.

Constructor & Destructor Documentation

◆ LdapUserProfileBe()

extensions::config::ldap::LdapUserProfileBe::LdapUserProfileBe ( const uno::Reference< uno::XComponentContext > &  xContext)
explicit

◆ ~LdapUserProfileBe()

extensions::config::ldap::LdapUserProfileBe::~LdapUserProfileBe ( )
overridevirtual

Definition at line 79 of file ldapuserprofilebe.cxx.

Member Function Documentation

◆ addPropertyChangeListener()

virtual void SAL_CALL extensions::config::ldap::LdapUserProfileBe::addPropertyChangeListener ( OUString const &  ,
css::uno::Reference< css::beans::XPropertyChangeListener > const &   
)
inlineoverridevirtual

Definition at line 78 of file ldapuserprofilebe.hxx.

◆ addVetoableChangeListener()

virtual void SAL_CALL extensions::config::ldap::LdapUserProfileBe::addVetoableChangeListener ( OUString const &  ,
css::uno::Reference< css::beans::XVetoableChangeListener > const &   
)
inlineoverridevirtual

Definition at line 88 of file ldapuserprofilebe.hxx.

◆ getImplementationName()

OUString SAL_CALL extensions::config::ldap::LdapUserProfileBe::getImplementationName ( )
overridevirtual

Definition at line 188 of file ldapuserprofilebe.cxx.

◆ getLdapStringParam()

bool extensions::config::ldap::LdapUserProfileBe::getLdapStringParam ( uno::Reference< container::XNameAccess > const &  xAccess,
const OUString &  aLdapSetting,
OUString &  aServerParameter 
)
staticprivate

Definition at line 143 of file ldapuserprofilebe.cxx.

Referenced by readLdapConfiguration().

◆ getPropertySetInfo()

virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL extensions::config::ldap::LdapUserProfileBe::getPropertySetInfo ( )
inlineoverridevirtual

Definition at line 69 of file ldapuserprofilebe.hxx.

◆ getPropertyValue()

css::uno::Any extensions::config::ldap::LdapUserProfileBe::getPropertyValue ( OUString const &  PropertyName)
overridevirtual

Definition at line 161 of file ldapuserprofilebe.cxx.

References data_, and i.

◆ getSupportedServiceNames()

uno::Sequence< OUString > SAL_CALL extensions::config::ldap::LdapUserProfileBe::getSupportedServiceNames ( )
overridevirtual

Definition at line 199 of file ldapuserprofilebe.cxx.

◆ readLdapConfiguration()

bool extensions::config::ldap::LdapUserProfileBe::readLdapConfiguration ( uno::Reference< uno::XComponentContext > const &  context,
LdapDefinition definition,
OUString *  loggedOnUser 
)
staticprivate

◆ removePropertyChangeListener()

virtual void SAL_CALL extensions::config::ldap::LdapUserProfileBe::removePropertyChangeListener ( OUString const &  ,
css::uno::Reference< css::beans::XPropertyChangeListener > const &   
)
inlineoverridevirtual

Definition at line 83 of file ldapuserprofilebe.hxx.

◆ removeVetoableChangeListener()

virtual void SAL_CALL extensions::config::ldap::LdapUserProfileBe::removeVetoableChangeListener ( OUString const &  ,
css::uno::Reference< css::beans::XVetoableChangeListener > const &   
)
inlineoverridevirtual

Definition at line 93 of file ldapuserprofilebe.hxx.

◆ setPropertyValue()

void extensions::config::ldap::LdapUserProfileBe::setPropertyValue ( OUString const &  ,
css::uno::Any const &   
)
overridevirtual

Definition at line 153 of file ldapuserprofilebe.cxx.

◆ supportsService()

sal_Bool SAL_CALL extensions::config::ldap::LdapUserProfileBe::supportsService ( const OUString &  aServiceName)
overridevirtual

Definition at line 193 of file ldapuserprofilebe.cxx.

References cppu::supportsService().

Member Data Documentation

◆ data_

LdapData extensions::config::ldap::LdapUserProfileBe::data_
private

Definition at line 108 of file ldapuserprofilebe.hxx.

Referenced by getPropertyValue(), and LdapUserProfileBe().


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