Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
EightMonth authored Dec 2, 2024
1 parent e2aaf0f commit 838d3db
Showing 1 changed file with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -189,20 +189,6 @@ public ShiroFilterFactoryBean shiroFilter(SecurityManager securityManager) {
return shiroFilterFactoryBean;
}

//update-begin---author:chenrui ---date:20240126 for:【QQYUN-7932】AI助手------------
@Bean
public FilterRegistrationBean shiroFilterRegistration() {
FilterRegistrationBean registration = new FilterRegistrationBean();
registration.setFilter(new DelegatingFilterProxy("shiroFilterFactoryBean"));
registration.setEnabled(true);
registration.addUrlPatterns("/*");
//支持异步
registration.setAsyncSupported(true);
registration.setDispatcherTypes(DispatcherType.REQUEST, DispatcherType.ASYNC);
return registration;
}
//update-end---author:chenrui ---date:20240126 for:【QQYUN-7932】AI助手------------

@Bean("securityManager")
public DefaultWebSecurityManager securityManager(ShiroRealm myRealm) {
DefaultWebSecurityManager securityManager = new DefaultWebSecurityManager();
Expand Down

0 comments on commit 838d3db

Please sign in to comment.