Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

we应用中shiro的spring配置SecurityUtils.setSecurityManager问题 #86

Open
jackiect opened this issue Aug 6, 2015 · 1 comment
Open

Comments

@jackiect
Copy link

jackiect commented Aug 6, 2015

在spring-config-shiro.xml代码处https://github.com/zhangkaitao/es/blob/master/web/src/main/resources/spring-config-shiro.xml#L162

按照官网的建议,调用静态方法SecurityUtils.setSecurityManager是不必须的。

@jackiect
Copy link
Author

jackiect commented Aug 6, 2015

关于是否要在spring中静态调用该方法,这个帖子有详细讨论:http://shiro-user.582556.n2.nabble.com/Do-you-have-to-SecurityUtils-setSecurityManager-in-a-web-app-to-use-shiro-tag-library-td7114798.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant