Uploaded image for project: 'Shiro'
  1. Shiro
  2. SHIRO-463

Enabling Shiro Annotations bring me a problem

    Details

      Description

      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?

        Attachments

          Activity

            People

            • Assignee:
              lhazlewood Les Hazlewood
              Reporter:
              sanlai_lee lisanlai
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - 6h
                6h
                Remaining:
                Remaining Estimate - 6h
                6h
                Logged:
                Time Spent - Not Specified
                Not Specified