MSLDAPURLDecoder

class msldap.commons.url.MSLDAPURLDecoder(url)

The URL describes both the connection target and the credentials. This class creates all necessary objects to set up the client.

Parameters

url (str) –

get_client()

Creates a client that can be used to interface with the server

Returns

LDAP client

Return type

MSLDAPClient

get_connection()

Creates a connection that can be used to interface with the server

Returns

LDAP connection

Return type

MSLDAPClientConnection

get_credential()

Creates a credential object

Returns

Credential object

Return type

MSLDAPCredential

get_target()

Creates a target object

Returns

Target object

Return type

MSLDAPTarget