improve authentication api for issue '#3 Add extension point for plugins to define groups and their members'

This commit is contained in:
Sebastian Sdorra
2011-01-08 13:04:04 +01:00
parent 5f29c02ce6
commit 37a9c506d9
6 changed files with 114 additions and 27 deletions

View File

@@ -138,7 +138,7 @@ public class PAMAuthenticationHandler implements AuthenticationHandler
User user = new User(username);
user.setAdmin(isAdmin(unixUser));
result = new AuthenticationResult(user);
result = new AuthenticationResult(user, unixUser.getGroups());
}
}
catch (PAMException ex)