mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUACAMOLE-244: Minor style tweaks in comments.
This commit is contained in:
@@ -233,8 +233,8 @@ public class ConfigurationService {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns whether or not LDAP aliases will be dereferenced,
|
* 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
|
* behavior if not explicitly defined is to never
|
||||||
* dereference them.
|
* dereference them.
|
||||||
*
|
*
|
||||||
* @return
|
* @return
|
||||||
@@ -249,7 +249,6 @@ public class ConfigurationService {
|
|||||||
LDAPGuacamoleProperties.LDAP_DEREFERENCE_ALIASES,
|
LDAPGuacamoleProperties.LDAP_DEREFERENCE_ALIASES,
|
||||||
DereferenceAliasesMode.NEVER
|
DereferenceAliasesMode.NEVER
|
||||||
);
|
);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -28,20 +28,20 @@ import com.novell.ldap.LDAPSearchConstraints;
|
|||||||
public enum DereferenceAliasesMode {
|
public enum DereferenceAliasesMode {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Never dereference aliases. This is the default.
|
* Never dereference aliases. This is the default.
|
||||||
*/
|
*/
|
||||||
NEVER(LDAPSearchConstraints.DEREF_NEVER),
|
NEVER(LDAPSearchConstraints.DEREF_NEVER),
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Aliases are dereferenced below the base object, but not to locate
|
* 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.
|
* the search will not complete.
|
||||||
*/
|
*/
|
||||||
SEARCHING(LDAPSearchConstraints.DEREF_SEARCHING),
|
SEARCHING(LDAPSearchConstraints.DEREF_SEARCHING),
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Aliases are only dereferenced to locate the base object, but not
|
* 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
|
* find any subordinates of the real object the alias references, but
|
||||||
* further aliases in the search will not be dereferenced.
|
* further aliases in the search will not be dereferenced.
|
||||||
*/
|
*/
|
||||||
|
@@ -26,7 +26,7 @@ import org.apache.guacamole.properties.GuacamoleProperty;
|
|||||||
/**
|
/**
|
||||||
* A GuacamoleProperty with a value of DereferenceAliases. The possible strings
|
* A GuacamoleProperty with a value of DereferenceAliases. The possible strings
|
||||||
* "never", "searching", "finding", and "always" are mapped to their values as a
|
* "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> {
|
public abstract class DereferenceAliasesProperty implements GuacamoleProperty<DereferenceAliasesMode> {
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user