<!-- Configures Handler Interceptors -->
<mvc:interceptors>
<!-- This bit of XML will intercept all URLs - which is what you want in a web app -->
<bean class="me.arganzheng.study.api.container.interceptor.AuthorizationInterceptor" />
<!-- This bit of XML will apply certain URLs to certain interceptors -->
<mvc:interceptor>
<mvc:mapping path="/admin/**"/>
<bean class="me.arganzheng.study.api.container.interceptor.RequestInitializeInterceptor" />
</mvc:interceptor>
</mvc:interceptors>
Last active
December 20, 2015 01:49
-
-
Save arganzheng/6051885 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment