|
|
|
|
@ -3,18 +3,19 @@ package net.mingsoft.config; |
|
|
|
|
import java.util.LinkedHashMap; |
|
|
|
|
import java.util.Map; |
|
|
|
|
|
|
|
|
|
import org.apache.shiro.mgt.SecurityManager; |
|
|
|
|
import org.apache.shiro.spring.web.ShiroFilterFactoryBean; |
|
|
|
|
import org.apache.shiro.web.mgt.DefaultWebSecurityManager; |
|
|
|
|
import org.springframework.beans.factory.annotation.Value; |
|
|
|
|
import org.springframework.context.annotation.Bean; |
|
|
|
|
import org.springframework.context.annotation.Configuration; |
|
|
|
|
import org.springframework.context.annotation.PropertySource; |
|
|
|
|
|
|
|
|
|
import net.mingsoft.basic.security.BaseAuthRealm; |
|
|
|
|
|
|
|
|
|
import org.apache.shiro.mgt.SecurityManager; |
|
|
|
|
|
|
|
|
|
@Configuration |
|
|
|
|
public class ShiroConfiguration { |
|
|
|
|
public class ShiroConfig { |
|
|
|
|
|
|
|
|
|
@Value("${ms.manager.path}") |
|
|
|
|
private String managerPath; |
|
|
|
|
|