Skip to content

Commit b99476c

Browse files
committed
<global-method-security> -> <method-security>
1 parent 9f00eef commit b99476c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

servlet/xml/java/contacts/src/main/resources/applicationContext-security.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd
1414
http://www.springframework.org/schema/security https://www.springframework.org/schema/security/spring-security.xsd">
1515

16-
<global-method-security pre-post-annotations="enabled">
16+
<method-security>
1717
<expression-handler ref="expressionHandler"/>
18-
</global-method-security>
18+
</method-security>
1919

2020
<http realm="Contacts Realm">
2121
<intercept-url pattern="/" access="permitAll"/>

0 commit comments

Comments
 (0)