James Moger
2016-01-16 1607b9f90face68eecd5df3e8e7677ba1f22e1e7
Merge pull request #990 from dbywalec/authenthication-of-federation-user

Fix authentication failure warning log messages for FEDERATION_USER
1 files modified
6 ■■■■■ changed files
src/main/java/com/gitblit/manager/AuthenticationManager.java 6 ●●●●● patch | view | raw | blame | history
src/main/java/com/gitblit/manager/AuthenticationManager.java
@@ -466,6 +466,12 @@
            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)) {