This commit is contained in:
YunaiV 2022-06-01 21:35:57 +08:00
commit b9f1eacf5c

View File

@ -81,7 +81,7 @@ public class YudaoSecurityAutoConfiguration {
return new TokenAuthenticationFilter(securityProperties, globalExceptionHandler, oauth2TokenApi); return new TokenAuthenticationFilter(securityProperties, globalExceptionHandler, oauth2TokenApi);
} }
@Bean("ss") // 使用 Spring Security 的缩写方便 @Bean("ss") // 使用 Spring Security 的缩写方便使
public SecurityFrameworkService securityFrameworkService(PermissionApi permissionApi) { public SecurityFrameworkService securityFrameworkService(PermissionApi permissionApi) {
return new SecurityFrameworkServiceImpl(permissionApi); return new SecurityFrameworkServiceImpl(permissionApi);
} }