Przeglądaj źródła

Merge pull request #990 from dbywalec/authenthication-of-federation-user

Fix authentication failure warning log messages for FEDERATION_USER
tags/v1.8.0
James Moger 8 lat temu
rodzic
commit
1607b9f90f

+ 6
- 0
src/main/java/com/gitblit/manager/AuthenticationManager.java Wyświetl plik

@@ -466,6 +466,12 @@ public class AuthenticationManager implements IAuthenticationManager {
return null;
}

if (username.equalsIgnoreCase(Constants.FEDERATION_USER)) {
// can not authenticate internal FEDERATION_USER at this point
// it must be routed to FederationManager
return null;
}
String usernameDecoded = StringUtils.decodeUsername(username);
String pw = new String(password);
if (StringUtils.isEmpty(pw)) {

Ładowanie…
Anuluj
Zapisz