Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
string $_authenticatedDn = 'null'The DN of the authenticated account. Used to retrieve the account entry on request.
DetailsZend_Ldap $_ldap = 'null'The Zend_Ldap context.
Detailsarray $_options = 'null'The array of arrays of Zend_Ldap options passed to the constructor.
Detailsstring $_password = 'null'The password of the account being authenticated.
Detailsstring $_username = 'null'The username of the account being authenticated.
Details__construct(
array $options
=
array, string $username
=
null, string $password
=
null
)
:
voidConstructor
Details_checkGroupMembership(
Zend_Ldap $ldap, string $canonicalName, string $dn, array $adapterOptions
)
:
string|trueChecks the group membership of the bound user
Details_getAuthorityName(
)
:
stringReturns a domain name for the current LDAP options. This is used for skipping redundant operations (e.g. authentications).
Details_optionsToString(
array $options
)
:
stringConverts options to string
Details_prepareOptions(
Zend_Ldap $ldap, array $options
)
:
arraySets the LDAP specific options on the Zend_Ldap instance
Detailsauthenticate(
)
:
Zend_Auth_ResultAuthenticate the user
DetailsgetAccountObject(
array $returnAttribs
=
array, array $omitAttribs
=
array
)
:
stdClass|booleangetAccountObject() - Returns the result entry as a stdClass object
This resembles the feature {@see Zend_Auth_Adapter_DbTable::getResultRowObject()}. Closes ZF-6813
DetailsgetLdap(
)
:
Zend_LdapReturns the LDAP Object
DetailsgetOptions(
)
:
array|nullReturns the array of arrays of Zend_Ldap options of this adapter.
DetailsgetPassword(
)
:
string|nullReturns the password of the account being authenticated, or NULL if none is set.
DetailsgetUsername(
)
:
string|nullReturns the username of the account being authenticated, or NULL if none is set.
DetailssetCredential(
string $credential
)
:
Zend_Auth_Adapter_LdapsetCredential() - set the credential (password) value to be used
Proxies to {@see setPassword()}
Closes ZF-6813
DetailssetIdentity(
string $identity
)
:
Zend_Auth_Adapter_LdapsetIdentity() - set the identity (username) to be used
Proxies to {@see setUsername()}
Closes ZF-6813
DetailssetLdap(
Zend_Ldap $ldap
)
:
Zend_Auth_Adapter_LdapSet an Ldap connection
DetailssetOptions(
array $options
)
:
Zend_Auth_Adapter_LdapSets the array of arrays of Zend_Ldap options to be used by this adapter.
DetailssetPassword(
string $password
)
:
Zend_Auth_Adapter_LdapSets the passwort for the account
DetailssetUsername(
string $username
)
:
Zend_Auth_Adapter_LdapSets the username for binding
Details