mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-11 13:19:01 +08:00
♻️ 优化异常抛出逻辑,方便二次扩展
This commit is contained in:
1 parent
547de0f2d2
commit
134eb660aa
1 file changed
+1
-4
+1
-4
@@ -119,11 +119,8 @@ public class PigxDaoAuthenticationProvider extends AbstractUserDetailsAuthentica
|
||||
mitigateAgainstTimingAttack(authentication);
|
||||
throw ex;
|
||||
}
|
||||
catch (InternalAuthenticationServiceException ex) {
|
||||
throw ex;
|
||||
}
|
||||
catch (Exception ex) {
|
||||
throw new InternalAuthenticationServiceException(ex.getMessage(), ex);
|
||||
throw ex;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user