Class ldap
LDAP bind-based authentication driver. Verifies user credentials against a v3 LDAP server using the server bind method.
- Core\Object implements Core\Chainable
- Core\Set implements Core\Accessor
- Core\Authentication
- Core\Authentication\Driver\ldap
Package: Core\Authentication
Since: 3.0
Requires: PHP 5.3, LDAP extension
Version: 1.2
Located at Authentication/Driver/ldap.inc.php
Methods summary
public
|
|
protected
|
|
public
string
|
|
public
string
|
#
encodeDN_expand( string $value, string $delimiter, string $rdn )
Expands RDN fragments based on a value and delimiter. |
public
string
|
Methods inherited from Core\Authentication
_validatePassword()
,
autocreate()
,
chain()
,
perform()
,
verify()
Methods inherited from Core\Object
__autocreateFactory()
,
__call()
,
__processParameters()
,
__toString()
,
attachMethod()
,
getValueForKey()
,
getValueForKeyPath()
,
getValueForUndefinedKey()
,
hash()
,
issetValueForKey()
,
setValueForKey()
,
setValueForKeyPath()
,
setValueForUndefinedKey()
,
uuid()
Constants summary
integer |
DefaultPort
Default LDAP server port used if not defined. |
#
389
|
Constants inherited from Core\Authentication
AllowEmptyPasswordParameter
,
AllowEmptyUsernameParameter
,
FieldSelectorParameter
,
InvalidCredentials
,
PasswordEncryptionParameter
,
Success
,
TemporaryFailure
,
UnknownIdentifier
Constants inherited from Core\Object
AnyParameterType
,
AutochainParameterType
,
AutocreateParameterType
,
BooleanParameterType
,
CharParameterType
,
EnumParameterType
,
IntegerParameterType
,
RealParameterType
,
StringParameterType
,
UserParameterType
Properties summary
protected
string
|
$_v_host
LDAP server hostname. |
|
protected
integer
|
$_v_port
LDAP server port. |
#
self::DefaultPort
|
protected
string
|
$_v_dn
Search base DN. |
Properties inherited from Core\Authentication
$_v_parameters
,
$_v_status
,
$_v_statusMessage
,
$_v_successor
Magic properties
public read-only
string
|
$host
Hostname of LDAP server from driver configuration URI. |
public read-only
integer
|
$port
Port of LDAP server from driver configuration URI. |
public read-only
string
|
$dn
Search base DN from driver configuration URI. |