Dariusz Bywalec
2016-01-04 5274e12c7cc19451355082418f78004c4d97e263
refs
author Dariusz Bywalec <dariusz.bywalec@trapezegroup.pl>
Monday, January 4, 2016 05:32 -0500
committer Dariusz Bywalec <dariusz.bywalec@trapezegroup.pl>
Monday, January 4, 2016 05:32 -0500
commit5274e12c7cc19451355082418f78004c4d97e263
tree 965bdcad1bd24c5288cb25d1f8a0dc79bd0288c6 tree | zip | gz
parent 2539ceea0d47467d54cedd340afa6ede2909b2bd view | diff
Fix authentication failure warning log messages for FEDERATION_USER

The AuthenticationManager did not encounter for FEDERATION_USER and would unnecessarily
generate a lot of failure warning log messages, e.g:

Failed login attempt for $gitblit, invalid credentials from XXX.XX.XX.XX

A simple condition will prematurely return null bypassing the regular authentication path
and immediately make the authentication be routed via FederationManager.
1 files modified
6 ■■■■■ changed files
src/main/java/com/gitblit/manager/AuthenticationManager.java 6 ●●●●● diff | view | raw | blame | history