Question

We're securing Mule services using the Spring Security Framework, 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

Was it helpful?

Solution

There is only one way for the service to access the UserDetails object in Spring Security and that's through the ThreadLocal SecurityContextHolder().

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top