Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes | Protected Attributes
nsLDAPServer Class Reference

#include <nsLDAPServer.h>

Inheritance diagram for nsLDAPServer:
Inheritance graph
[legend]
Collaboration diagram for nsLDAPServer:
Collaboration graph
[legend]

List of all members.

Public Member Functions

NS_DECL_ISUPPORTS
NS_DECL_NSILDAPSERVER 
nsLDAPServer ()
virtual ~nsLDAPServer ()

Public Attributes

attribute wstring key
 unique identifier for this server, used (typically) to identify a particular server object in a list of servers.
attribute AUTF8String password
 the password string used to bind to this server.
attribute AUTF8String username
 the user name to authenticate as.
attribute AUTF8String binddn
 the bind DN (Distinguished Name).
attribute unsigned long sizelimit
 maximum number of hits we want to accept from an LDAP search operation.
attribute nsILDAPURL url
 the URL for this server.
attribute unsigned long protocolVersion
 protocol version to be used (see nsILDAPConnection.idl for constants) Defaults to 3.

Protected Attributes

nsString mKey
nsCString mUsername
nsCString mPassword
nsCString mBindDN
PRUint32 mSizeLimit
PRUint32 mProtocolVersion
nsCOMPtr< nsILDAPURLmURL

Detailed Description

Definition at line 51 of file nsLDAPServer.h.


Constructor & Destructor Documentation

Definition at line 52 of file nsLDAPServer.cpp.

{
}

Member Data Documentation

attribute AUTF8String nsILDAPServer::binddn [inherited]

the bind DN (Distinguished Name).

Exceptions:
NS_ERROR_NULL_POINTERNULL pointer to GET method
NS_ERROR_OUT_OF_MEMORYran out of memory

Definition at line 95 of file nsILDAPServer.idl.

attribute wstring nsILDAPServer::key [inherited]

unique identifier for this server, used (typically) to identify a particular server object in a list of servers.

This key can be any "string", but in our case it will most likely be the same identifier as used in a Mozilla preferences files.

Exceptions:
NS_ERROR_NULL_POINTERNULL pointer to GET method
NS_ERROR_OUT_OF_MEMORYran out of memory

Definition at line 69 of file nsILDAPServer.idl.

Definition at line 66 of file nsLDAPServer.h.

Definition at line 63 of file nsLDAPServer.h.

Definition at line 65 of file nsLDAPServer.h.

Definition at line 68 of file nsLDAPServer.h.

Definition at line 67 of file nsLDAPServer.h.

Definition at line 71 of file nsLDAPServer.h.

Definition at line 64 of file nsLDAPServer.h.

attribute AUTF8String nsILDAPServer::password [inherited]

the password string used to bind to this server.

An empty string here implies binding as anonymous.

Exceptions:
NS_ERROR_NULL_POINTERNULL pointer to GET method
NS_ERROR_OUT_OF_MEMORYran out of memory

Definition at line 78 of file nsILDAPServer.idl.

protocol version to be used (see nsILDAPConnection.idl for constants) Defaults to 3.

Exceptions:
NS_ERROR_NULL_POINTERNULL pointer passed to getter
NS_ERROR_INVALID_ARGInvalid version passed to setter

Definition at line 118 of file nsILDAPServer.idl.

attribute unsigned long nsILDAPServer::sizelimit [inherited]

maximum number of hits we want to accept from an LDAP search operation.

Exceptions:
NS_ERROR_NULL_POINTERNULL pointer to GET method

Definition at line 102 of file nsILDAPServer.idl.

the URL for this server.

Exceptions:
NS_ERROR_NULL_POINTERNULL pointer to GET method

Definition at line 109 of file nsILDAPServer.idl.

attribute AUTF8String nsILDAPServer::username [inherited]

the user name to authenticate as.

An empty string here would imply binding as anonymous.

Exceptions:
NS_ERROR_NULL_POINTERNULL pointer to GET method
NS_ERROR_OUT_OF_MEMORYran out of memory

Definition at line 87 of file nsILDAPServer.idl.


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