Basic configuration of Spring Security ACL support
Although we hinted previously that configuring ACL support in Spring Security requires bean-based configuration (which it does), you can use ACL support while retaining the simpler security XML namespace configuration if you choose. In the remaining examples in this chapter, we will be focusing on Java-based configuration.
Gradle dependencies
As with most of the chapters, we will need to add some dependencies in order to use the functionality in this chapter. A list of the dependencies we have added with comments about when they are needed can be checked as follows:
build.gradle dependencies { // ACL compile('org.springframework.security:spring-security-acl') compile('net.sf.ehcache:ehcache') ... }
Defining a simple target scenario
Our simple target scenario is to grant [email protected]
read access to only the birthday party event. All other users will not have any access to any events. You will observe...