1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
3
|
xmlns:mvc="http://www.springframework.org/schema/mvc"
|
4
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
5
|
xmlns:context="http://www.springframework.org/schema/context"
|
6
|
xmlns:security="http://www.springframework.org/schema/security"
|
7
|
xsi:schemaLocation="http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-4.1.xsd
|
8
|
http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.2.xsd
|
9
|
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.1.xsd
|
10
|
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.1.xsd"
|
11
|
>
|
12
|
|
13
|
<security:global-method-security pre-post-annotations="enabled" proxy-target-class="true"
|
14
|
authentication-manager-ref="authenticationManager">
|
15
|
</security:global-method-security>
|
16
|
|
17
|
<bean id="webexpressionHandler"
|
18
|
class="org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler"/>
|
19
|
|
20
|
<context:annotation-config/>
|
21
|
<mvc:annotation-driven />
|
22
|
|
23
|
</beans>
|