SEC-733: Changed names of <global-method-security> attributes as discussed with Ben and updated sample to reflect the changes. Also changed explicit instantiation of Jsr250 and Secured annotation MethodDefinitionSource beans in GlobalMethodSecurityBDP into bean definitions to make more tooling friendly.

This commit is contained in:
Luke Taylor
2008-03-26 21:48:24 +00:00
parent 9ea2408ac6
commit ef5b3e2f9c
6 changed files with 2051 additions and 1920 deletions

View File

@@ -12,7 +12,7 @@
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-2.0.xsd">
<global-method-security secured="true"/>
<global-method-security secured-annotations="enabled"/>
<http>
<intercept-url pattern="/secure/extreme/**" access="ROLE_SUPERVISOR"/>