O'Reilly logo

Spring Security 3 by Peter Mularien

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Method security explicit bean configuration

The dogstore-explicit-base.xml file in the Chapter 6 source code contains the full set of bean declarations listed here. We chose not to include it in Chapter 6 itself, because it doesn't have much associated explanation required (refer to Chapter 5, Fine-Grained Access Control, for the roles of the individual beans involved).

Here is the full configuration listing required to enable method security through Spring Bean configuration:

<!-- ************************************************** --> <!-- Method Authorization --> <!-- ************************************************** --> <bean class="org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor" id="methodSecurityInterceptor"> ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required