23 lines
1.3 KiB
XML
23 lines
1.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
|
xmlns:mvc="http://www.springframework.org/schema/mvc"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xmlns:context="http://www.springframework.org/schema/context"
|
|
xmlns:security="http://www.springframework.org/schema/security"
|
|
xsi:schemaLocation="http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-4.1.xsd
|
|
http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.2.xsd
|
|
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.1.xsd
|
|
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.1.xsd"
|
|
>
|
|
|
|
<security:global-method-security pre-post-annotations="enabled" proxy-target-class="true"
|
|
authentication-manager-ref="authenticationManager">
|
|
</security:global-method-security>
|
|
|
|
<bean id="webexpressionHandler"
|
|
class="org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler"/>
|
|
|
|
<context:annotation-config/>
|
|
<mvc:annotation-driven />
|
|
|
|
</beans> |