From 1b9ddaacac756ce545a6779fab1b256a42090af0 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Thu, 12 Mar 2015 23:35:38 +0100 Subject: [PATCH] Add PHPDoc to Ldap\Connection's encryption consts --- library/Icinga/Protocol/Ldap/Connection.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/library/Icinga/Protocol/Ldap/Connection.php b/library/Icinga/Protocol/Ldap/Connection.php index 96f3ded9b..e1954fe1d 100644 --- a/library/Icinga/Protocol/Ldap/Connection.php +++ b/library/Icinga/Protocol/Ldap/Connection.php @@ -30,7 +30,19 @@ class Connection const LDAP_SIZELIMIT_EXCEEDED = 4; const LDAP_ADMINLIMIT_EXCEEDED = 11; const PAGE_SIZE = 1000; + + /** + * Encrypt connection using STARTTLS (upgrading a plain text connection) + * + * @var string + */ const STARTTLS = 'tls'; + + /** + * Encrypt connection using LDAP over SSL (using a separate port) + * + * @var string + */ const SSL = 'ssl'; protected $ds;