#include <LDAPUrl.h>
Public Member Functions | |
| LDAPUrl (const char *url) | |
| Create a new object from a c-string that contains a LDAP-Url. | |
| ~LDAPUrl () | |
| Destructor. | |
| int | getPort () const |
| |
| int | getScope () const |
| |
| const std::string & | getURLString () const |
| |
| const std::string & | getHost () const |
| |
| const std::string & | getDN () const |
| |
| const std::string & | getFilter () const |
| |
| const StringList & | getAttrs () const |
| |
Protected Attributes | |
| int | m_Port |
| int | m_Scope |
| std::string | m_Host |
| std::string | m_DN |
| std::string | m_Filter |
| StringList | m_Attrs |
| LDAPURLDesc * | m_urlDesc |
| std::string | m_urlString |
LDAP-URLs are defined in RFC1959 and have the following format:
ldap://host:port/baseDN[?attr[?scope[?filter]]]
| LDAPUrl::LDAPUrl | ( | const char * | url | ) |
Create a new object from a c-string that contains a LDAP-Url.
| LDAPUrl::~LDAPUrl | ( | ) |
Destructor.
| int LDAPUrl::getPort | ( | ) | const |
| int LDAPUrl::getScope | ( | ) | const |
| const string & LDAPUrl::getURLString | ( | ) | const |
| const string & LDAPUrl::getHost | ( | ) | const |
| const string & LDAPUrl::getDN | ( | ) | const |
| const string & LDAPUrl::getFilter | ( | ) | const |
| const StringList & LDAPUrl::getAttrs | ( | ) | const |
int LDAPUrl::m_Port [protected] |
int LDAPUrl::m_Scope [protected] |
std::string LDAPUrl::m_Host [protected] |
std::string LDAPUrl::m_DN [protected] |
std::string LDAPUrl::m_Filter [protected] |
StringList LDAPUrl::m_Attrs [protected] |
LDAPURLDesc* LDAPUrl::m_urlDesc [protected] |
std::string LDAPUrl::m_urlString [protected] |
1.5.3