mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-03-09 05:40:21 +01:00
improve authentication api for issue '#3 Add extension point for plugins to define groups and their members'
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user