Skip to content

Commit

Permalink
Spring Boot Shiro用户认证
Browse files Browse the repository at this point in the history
  • Loading branch information
wuyouzhuguli committed Apr 12, 2019
1 parent c660fa4 commit 3acdddb
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import java.util.LinkedHashMap;

import org.apache.shiro.mgt.SecurityManager;
import org.apache.shiro.spring.LifecycleBeanPostProcessor;
import org.apache.shiro.spring.web.ShiroFilterFactoryBean;
import org.apache.shiro.web.mgt.DefaultWebSecurityManager;
import org.springframework.context.annotation.Bean;
Expand Down Expand Up @@ -45,11 +44,6 @@ public SecurityManager securityManager(){
return securityManager;
}

@Bean(name = "lifecycleBeanPostProcessor")
public LifecycleBeanPostProcessor lifecycleBeanPostProcessor() {
return new LifecycleBeanPostProcessor();
}

@Bean
public ShiroRealm shiroRealm(){
ShiroRealm shiroRealm = new ShiroRealm();
Expand Down

0 comments on commit 3acdddb

Please sign in to comment.