Description
Expected Behavior
There should be a subsection in https://docs.spring.io/spring-security/reference/ describing org.springframework.security.authentication.CachingUserDetailsService
.
Current Behavior
In fact there is no such text passage to mention this class.
Context
This class does not give too much description in the javadoc, and some people use outdated information to judge the role of this class in the closed issues, for example #2837 .
According to the discussion on Stack Overflow (refer to https://stackoverflow.com/questions/40766098/springcachebasedusercache-is-null ), it seems that many people have the need to cache authentication information, but the official website documentation is not mentioned this class. Should it be mentioned if possible?
Because the function of this class is relatively intuitive and simple, is it the opinion of the community that it is not recommended to use this class? If so, then I think it should be explained in the documentation.