프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$config | |||
$connection | resource | ||
$dispatcher | LdapTools\Event\EventDispatcherInterface | ||
$isBound | Whether the connection is bound using a username/password | ||
$lastActivity | DateTime | null | ||
$logger | LdapTools\Log\LdapLoggerInterface | null | ||
$rootDse | |||
$server | The LDAP server that we are currently connected to. | ||
$serverPool | |||
$usernameFormatter |
메소드 | 설명 | |
---|---|---|
__construct ( |
||
close ( ) | ||
connect ( $username = null, $password = null, $anonymous = false, $server = null ) | ||
execute ( LdapTools\Operation\LdapOperationInterface $operation ) | ||
getConfig ( ) | ||
getConnection ( ) | ||
getDiagnosticMessage ( ) | ||
getExtendedErrorNumber ( ) | ||
getIdleTime ( ) | ||
getLastError ( ) | ||
getRootDse ( ) | ||
getServer ( ) | ||
isBound ( ) | ||
setControl ( |
메소드 | 설명 | |
---|---|---|
bind ( string $username, string $password, boolean $anonymous = false ) | Binds to LDAP with the supplied credentials or anonymously if specified. | |
getLdapUrl ( null | string $server = null ) : string[] | Get the LDAP URL to connect to. | |
initiateLdapConnection ( null | string $server = null ) | Makes the initial connection to LDAP, sets connection options, and starts TLS if specified. | |
setupOperationInvoker ( ) | Sets the needed objects on the operation invoker. |
public __construct ( |
||
$config | ||
$dispatcher | LdapTools\Event\EventDispatcherInterface | |
$logger | LdapTools\Log\LdapLoggerInterface |
public connect ( $username = null, $password = null, $anonymous = false, $server = null ) |
public execute ( LdapTools\Operation\LdapOperationInterface $operation ) | ||
$operation | LdapTools\Operation\LdapOperationInterface |
protected getLdapUrl ( null | string $server = null ) : string[] | ||
$server | null | string | |
리턴 | string[] |
protected initiateLdapConnection ( null | string $server = null ) | ||
$server | null | string |
protected setupOperationInvoker ( ) |
protected DomainConfiguration,LdapTools $config | ||
리턴 |
protected EventDispatcherInterface,LdapTools\Event $dispatcher | ||
리턴 | LdapTools\Event\EventDispatcherInterface |
protected LdapLoggerInterface,LdapTools\Log|null $logger | ||
리턴 | LdapTools\Log\LdapLoggerInterface | null |
protected LdapObject,LdapTools\Object|null $rootDse | ||
리턴 |
protected LdapServerPool,LdapTools\Connection $serverPool | ||
리턴 |