优化自动配置

This commit is contained in:
zhou-hao
2017-11-30 00:57:52 +08:00
parent 92455015b2
commit 54315e0572
5 changed files with 10 additions and 22 deletions

View File

@@ -99,9 +99,6 @@ public class AuthorizingHandlerAutoConfiguration {
if (bean instanceof DataAccessHandler) {
defaultDataAccessController.addHandler(((DataAccessHandler) bean));
}
if (bean instanceof AuthenticationSupplier) {
AuthenticationHolder.addSupplier(((AuthenticationSupplier) bean));
}
return bean;
}
}