GUACAMOLE-244: Minor style tweaks in comments.

This commit is contained in:
Nick Couchman
2017-03-21 07:33:21 -04:00
parent f2b4053192
commit f1466906e3
3 changed files with 6 additions and 7 deletions

View File

@@ -233,7 +233,7 @@ public class ConfigurationService {
/**
* Returns whether or not LDAP aliases will be dereferenced,
* as configured with guacamole.properties. The default
* as configured with guacamole.properties. The default
* behavior if not explicitly defined is to never
* dereference them.
*
@@ -249,7 +249,6 @@ public class ConfigurationService {
LDAPGuacamoleProperties.LDAP_DEREFERENCE_ALIASES,
DereferenceAliasesMode.NEVER
);
}
/**

View File

@@ -28,20 +28,20 @@ import com.novell.ldap.LDAPSearchConstraints;
public enum DereferenceAliasesMode {
/**
* Never dereference aliases. This is the default.
* Never dereference aliases. This is the default.
*/
NEVER(LDAPSearchConstraints.DEREF_NEVER),
/**
* Aliases are dereferenced below the base object, but not to locate
* the base object itself. So, if the base object is itself an alias
* the base object itself. So, if the base object is itself an alias
* the search will not complete.
*/
SEARCHING(LDAPSearchConstraints.DEREF_SEARCHING),
/**
* Aliases are only dereferenced to locate the base object, but not
* after that. So, a search against a base object that is an alias will
* after that. So, a search against a base object that is an alias will
* find any subordinates of the real object the alias references, but
* further aliases in the search will not be dereferenced.
*/

View File

@@ -26,7 +26,7 @@ import org.apache.guacamole.properties.GuacamoleProperty;
/**
* A GuacamoleProperty with a value of DereferenceAliases. The possible strings
* "never", "searching", "finding", and "always" are mapped to their values as a
* DereferenceAliases enum. Anything else results in a parse error.
* DereferenceAliases enum. Anything else results in a parse error.
*/
public abstract class DereferenceAliasesProperty implements GuacamoleProperty<DereferenceAliasesMode> {