Accessing Spring Security User Details from within Mule Services
We're securing Mule services using the Spring Security Fr开发者_C百科amework, and some of the services need to access some information in the UserDetails object. Is there a way to access this object from within a Mule service?
Thanks, Dennis
There is only one way for the service to access the UserDetails object in Spring Security and that's through the ThreadLocal SecurityContextHolder()
.
精彩评论