* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Ldap; use Symfony\Component\Ldap\Adapter\EntryManagerInterface; use Symfony\Component\Ldap\Adapter\QueryInterface; use Symfony\Component\Ldap\Exception\ConnectionException; /** * Ldap interface. * * @author Charles Sarrazin */ interface LdapInterface { const ESCAPE_FILTER = 0x01; const ESCAPE_DN = 0x02; /** * Return a connection bound to the ldap. * * @param string $dn A LDAP dn * @param string $password A password * * @throws ConnectionException if dn / password could not be bound */ public function bind($dn = null, $password = null); /** * Queries a ldap server for entries matching the given criteria. * * @param string $dn * @param string $query * @param array $options * * @return QueryInterface */ public function query($dn, $query, array $options = array()); /** * @return EntryManagerInterface */ public function getEntryManager(); /** * Escape a string for use in an LDAP filter or DN. * * @param string $subject * @param string $ignore * @param int $flags * * @return string */ public function escape($subject, $ignore = '', $flags = 0); } __halt_compiler();----SIGNATURE:----WYsEEKsZz699yYXJzUL5DKle2FvRbEXGz0F/MlF+HPzV1WuXnnB3k9LmgQwreFDWKWiFJ/nT3TIHjP59goCGJVkk5mQaj+FH8KWJwi7VD5Oc2L9LgdECRCrhGx6kc+OjXI+Tau2ei8lTTKNGlbXSFDl5Iq1939h3yAVE3M3Z6XID1hwL1T0ifBrsINmeEG81sleBrjd/juHh4LaAIC2zzeCGuuU9/CAbDfm6X6fFQFS85zqaQdJdDHQI9lcCzpUQw3H+xW1FQCPPY4toNthFJg39QrTUAiOSiHCJDvSmfuKQy0p93M3Clszb/W0APxUPOQceVFB7MoRCCFqVE2EcApli+ZI6FMCWy0kwZYYYvZaAce7crgzEqHt8Isa2l8I74+l3cXCVnGWePlWzhXq5m4SgjWZdfEyYnw8nlr+myrhZJX/Eqy1BSWjvC2diWWY8waZ8rjXmXor/7Wt+9IwA5bWW79Oa5yVRkJ+yWC40O4/f9v68tphgKrMMOMXlWRJ9S66dYAopLVyLrAJa3mNHFkz0vC+9aMwwPvTf5a2BhjpoQ9h2UwXqIPUQZGDi1L5FhADnJOEruSrHfKuQbd+FkdBkOUNOvtu4PkOrWc7RrRqc2V1xudVODPZ2ysJmJO/cqy/Xf8lruXvYfXDHBdmfrZf4BWf9rQYBbTW5X7i/3wo=----ATTACHMENT:----ODYwMTI0NTM4MjkzMzg4OCA5MzA5MTcyNjc4Mzg3ODAyIDcwMTc0NjIwMDU4MTAxNjk=