GUACAMOLE-5: All strings are valid user identifiers.

This commit is contained in:
Michael Jumper
2016-07-30 10:56:09 -07:00
parent 690e8996e3
commit 3d3be46bb4

View File

@@ -258,6 +258,14 @@ public class UserService extends ModeledDirectoryObjectService<ModeledUser, User
} }
@Override
protected boolean isValidIdentifier(String identifier) {
// All strings are valid user identifiers
return true;
}
/** /**
* Retrieves the user corresponding to the given credentials from the * Retrieves the user corresponding to the given credentials from the
* database. If the user account is expired, and the credentials contain * database. If the user account is expired, and the credentials contain