mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-02-06 06:39:15 +01:00
Add debug log for successful login
This commit is contained in:
@@ -85,6 +85,7 @@ public class ApiKeyRealm extends AuthenticatingRealm {
|
||||
private AuthenticationInfo buildAuthenticationInfo(AuthenticationToken token, ApiKeyService.CheckResult check) {
|
||||
RepositoryRole repositoryRole = determineRole(check);
|
||||
Scope scope = createScope(repositoryRole);
|
||||
LOG.debug("login for user {} with api key limited to role {}", check.getUser(), check.getPermissionRole());
|
||||
return helper
|
||||
.authenticationInfoBuilder(check.getUser())
|
||||
.withSessionId(getPrincipal(token))
|
||||
|
||||
Reference in New Issue
Block a user