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>
|
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) |
|
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.
◆ LdapUserProfileBe()
extensions::config::ldap::LdapUserProfileBe::LdapUserProfileBe |
( |
const uno::Reference< uno::XComponentContext > & |
xContext | ) |
|
|
explicit |
◆ ~LdapUserProfileBe()
extensions::config::ldap::LdapUserProfileBe::~LdapUserProfileBe |
( |
| ) |
|
|
overridevirtual |
◆ addPropertyChangeListener()
virtual void SAL_CALL extensions::config::ldap::LdapUserProfileBe::addPropertyChangeListener |
( |
OUString const & |
, |
|
|
css::uno::Reference< css::beans::XPropertyChangeListener > const & |
|
|
) |
| |
|
inlineoverridevirtual |
◆ addVetoableChangeListener()
virtual void SAL_CALL extensions::config::ldap::LdapUserProfileBe::addVetoableChangeListener |
( |
OUString const & |
, |
|
|
css::uno::Reference< css::beans::XVetoableChangeListener > const & |
|
|
) |
| |
|
inlineoverridevirtual |
◆ getImplementationName()
OUString SAL_CALL extensions::config::ldap::LdapUserProfileBe::getImplementationName |
( |
| ) |
|
|
overridevirtual |
◆ getLdapStringParam()
bool extensions::config::ldap::LdapUserProfileBe::getLdapStringParam |
( |
uno::Reference< container::XNameAccess > const & |
xAccess, |
|
|
const OUString & |
aLdapSetting, |
|
|
OUString & |
aServerParameter |
|
) |
| |
|
staticprivate |
◆ getPropertySetInfo()
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL extensions::config::ldap::LdapUserProfileBe::getPropertySetInfo |
( |
| ) |
|
|
inlineoverridevirtual |
◆ getPropertyValue()
css::uno::Any extensions::config::ldap::LdapUserProfileBe::getPropertyValue |
( |
OUString const & |
PropertyName | ) |
|
|
overridevirtual |
◆ getSupportedServiceNames()
uno::Sequence< OUString > SAL_CALL extensions::config::ldap::LdapUserProfileBe::getSupportedServiceNames |
( |
| ) |
|
|
overridevirtual |
◆ readLdapConfiguration()
bool extensions::config::ldap::LdapUserProfileBe::readLdapConfiguration |
( |
uno::Reference< uno::XComponentContext > const & |
context, |
|
|
LdapDefinition * |
definition, |
|
|
OUString * |
loggedOnUser |
|
) |
| |
|
staticprivate |
Check if LDAP is configured.
Definition at line 84 of file ldapuserprofilebe.cxx.
References getLdapStringParam(), extensions::config::ldap::LdapDefinition::mAnonCredentials, extensions::config::ldap::LdapDefinition::mAnonUser, extensions::config::ldap::LdapDefinition::mBaseDN, extensions::config::ldap::LdapDefinition::mPort, extensions::config::ldap::LdapDefinition::mServer, extensions::config::ldap::LdapDefinition::mUserObjectClass, extensions::config::ldap::LdapDefinition::mUserUniqueAttr, nIndex, SAL_WARN, and TOOLS_WARN_EXCEPTION.
Referenced by LdapUserProfileBe().
◆ removePropertyChangeListener()
virtual void SAL_CALL extensions::config::ldap::LdapUserProfileBe::removePropertyChangeListener |
( |
OUString const & |
, |
|
|
css::uno::Reference< css::beans::XPropertyChangeListener > const & |
|
|
) |
| |
|
inlineoverridevirtual |
◆ removeVetoableChangeListener()
virtual void SAL_CALL extensions::config::ldap::LdapUserProfileBe::removeVetoableChangeListener |
( |
OUString const & |
, |
|
|
css::uno::Reference< css::beans::XVetoableChangeListener > const & |
|
|
) |
| |
|
inlineoverridevirtual |
◆ setPropertyValue()
void extensions::config::ldap::LdapUserProfileBe::setPropertyValue |
( |
OUString const & |
, |
|
|
css::uno::Any const & |
|
|
) |
| |
|
overridevirtual |
◆ supportsService()
sal_Bool SAL_CALL extensions::config::ldap::LdapUserProfileBe::supportsService |
( |
const OUString & |
aServiceName | ) |
|
|
overridevirtual |
◆ data_
LdapData extensions::config::ldap::LdapUserProfileBe::data_ |
|
private |
The documentation for this class was generated from the following files: