1234567891011121314151617181920212223242526 |
- <b:beans xmlns="http://www.springframework.org/schema/security"
- xmlns:b="http://www.springframework.org/schema/beans"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:aop="http://www.springframework.org/schema/aop"
- xmlns:tx="http://www.springframework.org/schema/tx"
- xmlns:security="http://www.springframework.org/schema/security"
- xsi:schemaLocation="
- http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
- http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
- http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security.xsd">
- <global-method-security pre-post-annotations="enabled" secured-annotations="enabled" />
- <b:bean class="org.springframework.security.integration.multiannotation.MultiAnnotationServiceImpl"/>
- <b:bean class="org.springframework.security.integration.multiannotation.PreAuthorizeServiceImpl"/>
- <b:bean class="org.springframework.security.integration.multiannotation.SecuredServiceImpl"/>
- <authentication-manager>
- <authentication-provider>
- <user-service>
- <user name="bob" password="bobspassword" authorities="ROLE_A,ROLE_B"/>
- </user-service>
- </authentication-provider>
- </authentication-manager>
- </b:beans>
|