lisanlai created SHIRO-463:
------------------------------
Summary: Enabling Shiro Annotations bring me a problem
Key: SHIRO-463
URL: https://issues.apache.org/jira/browse/SHIRO-463
Project: Shiro
Issue Type: Question
Components: Configuration, Integration: Spring, Web
Affects Versions: 1.2.2
Environment: SpingMVC + Mybatis + Sitemesh
Reporter: lisanlai
Assignee: Les Hazlewood
Fix For: 1.2.2
I want to enable shiro annotations support,so i config it like the suggestion
at "http://shiro.apache.org/spring.html#Spring-WebApplications" .
Some code as follow:
<bean
class="org.springframework.aop.framework.autoproxy.DefaultAdvisorAutoProxyCreator"
depends-on="lifecycleBeanPostProcessor"/>
<bean
class="org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor">
<property name="securityManager" ref="securityManager"/>
</bean>
But,when i put these code into my applicationContext.xml,some controller can't
be found,and the application take me to the 404 page.It will be solved as
remove these code.
So,why?
--
This message was sent by Atlassian JIRA
(v6.1#6144)