Ehcache is a special cache plugin that can cache Java objects and improve system performance
Step 1: Introduce the dependency of ehcache in the pom.xml file
Step 2: Provide the configuration file of ehcache in the project
Step 3: Configure the cache manager object in the spring configuration file and inject it into the security manager object