GUACAMOLE-1239: Make identifier comparison case-insensitive.
This commit is contained in:
1 parent
073d1d476e
commit
4d5101574a
43 files changed
+853
-12
No files matched your search
+12
@@ -328,5 +328,17 @@ public class SQLServerEnvironment extends JDBCEnvironment {
|
||||
SQLServerGuacamoleProperties.SQLSERVER_TRUST_ALL_SERVER_CERTIFICATES,
|
||||
false);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean getCaseSensitiveUsernames() throws GuacamoleException {
|
||||
|
||||
// SQL Server uses case-insensitive string searches by default, so
|
||||
// we do not enforce case-sensitivity unless otherwise configured.
|
||||
return getProperty(
|
||||
SQLServerGuacamoleProperties.SQLSERVER_CASE_SENSITIVE_USERNAMES,
|
||||
false
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
+8
@@ -257,5 +257,13 @@ public class SQLServerGuacamoleProperties {
|
||||
public String getName() { return "sqlserver-trust-all-server-certificates"; }
|
||||
|
||||
};
|
||||
|
||||
public static final BooleanGuacamoleProperty SQLSERVER_CASE_SENSITIVE_USERNAMES =
|
||||
new BooleanGuacamoleProperty() {
|
||||
|
||||
@Override
|
||||
public String getName() { return "sqlserver-case-sensitive-usernames" ; }
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user