Use AccountGroup.UUID instead of Account.Id

By switching to the UUID we can have a globally unique identifier
for group membership throughout the server, even if group information
comes in from a different data source.

Change-Id: Icb49d6a6aff8e62864ac0f78ceedbe03f01de894
Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
Shawn O. Pearce
2010-12-21 12:33:12 -08:00
parent bcc191c020
commit e662fb3d4d
49 changed files with 374 additions and 229 deletions

View File

@@ -27,7 +27,7 @@ public interface Realm {
public void onCreateAccount(AuthRequest who, Account account);
public Set<AccountGroup.Id> groups(AccountState who);
public Set<AccountGroup.UUID> groups(AccountState who);
/**
* Locate an account whose local username is the given account name.