GUACAMOLE-1661: Match by both user and domain when using KEEPER_USER_ tokens.

This commit is contained in:
James Muehlner
2022-08-10 23:49:59 +00:00
parent aa06c81f29
commit 593cfaaffe
5 changed files with 278 additions and 70 deletions

View File

@@ -206,4 +206,21 @@ public abstract class VaultConfigurationService {
*/
public abstract boolean getSplitWindowsUsernames() throws GuacamoleException;
/**
* Return whether domains should be considered when matching user records
* that are fetched from the vault.
*
* If set to true, the username and domain must both match when matching
* records from the vault. If false, only the username will be considered.
*
* @return
* true if both the username and domain should be considered when
* matching user records from the vault.
*
* @throws GuacamoleException
* If the value specified within guacamole.properties cannot be
* parsed.
*/
public abstract boolean getMatchUserRecordsByDomain() throws GuacamoleException;
}