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

Enabling Shiro Annotations bring me a problem

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    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

              Dates

              • Created:
                Updated:

                Time Tracking

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

                  Issue deployment