From b9271aac56384352aba2a8b8679eaad80df516e8 Mon Sep 17 00:00:00 2001 From: Nick Couchman Date: Sun, 19 Mar 2017 20:50:30 -0400 Subject: [PATCH] GUACAMOLE-102: Clearer comments on the function for the config values for dereferencing aliases. --- .../guacamole/auth/ldap/ConfigurationService.java | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/extensions/guacamole-auth-ldap/src/main/java/org/apache/guacamole/auth/ldap/ConfigurationService.java b/extensions/guacamole-auth-ldap/src/main/java/org/apache/guacamole/auth/ldap/ConfigurationService.java index e546414d6..b5e55554e 100644 --- a/extensions/guacamole-auth-ldap/src/main/java/org/apache/guacamole/auth/ldap/ConfigurationService.java +++ b/extensions/guacamole-auth-ldap/src/main/java/org/apache/guacamole/auth/ldap/ConfigurationService.java @@ -225,12 +225,15 @@ public class ConfigurationService { /** * Returns whether or not LDAP aliases will be dereferenced, - * as configured with guacamole.properties. - * By default they will never be dereferenced. + * as configured with guacamole.properties. The default + * behavior if not explicityly defined is to never + * dereference them. * * @return - * An integer representing the status of of alias - * dereferencing, as configured in guacamole.properties. + * An integer value that maps to the JLDAP constants + * for dereferencing - 0 is DEREF_NEVER, 1 is DEREF_SEARCHING, + * 2 is DEREF_FINDING, and 3 is DEREF_ALWAYS - as configured + * in guacamole.properties. * * @throws GuacamoleException * If guacamole.properties cannot be parsed.