Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
SEC-1531: The constructor of CachingUserDetailsService is not public #1772
The constructor of CachingUserDetailsService is not public => you can not inherit from this class
My use case is to inherit from this class and to implement cache eviction accordingly to application events
Workaround : copy/paste the class which does not do a lot of things
christophe blin said:
Well I know this is not a public API.
What I want is to use it at my own risk without copy.paste.
The only solution to do the use case mentioned in the ticket description with spring current implementation is to have another bean that deals directly with the cache to evict entry from it.