mirror of
https://github.com/hs-web/hsweb-framework.git
synced 2026-05-31 09:53:21 +08:00
优化权限配置
This commit is contained in:
@@ -90,6 +90,16 @@ public class AuthorizingHandlerAutoConfiguration {
|
||||
return new UserTokenAutoExpiredListener(userTokenManager);
|
||||
}
|
||||
|
||||
@Bean
|
||||
public AuthorizationController authorizationController() {
|
||||
return new AuthorizationController();
|
||||
}
|
||||
|
||||
@Bean
|
||||
public UserTokenController userTokenController() {
|
||||
return new UserTokenController();
|
||||
}
|
||||
|
||||
@Configuration
|
||||
public static class DataAccessHandlerProcessor implements BeanPostProcessor {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user