views:

181

answers:

1

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

+1  A: 

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

Gandalf
Excellent! Thanks for your help.
Dennis Roberts
@Dennis - then upvote it and check complete ;)
Gandalf
It's been checked complete. I tried to upvote it, but I haven't accumulated enough reputation points to do so.
Dennis Roberts
Finally acquired enough reputation points to upvote the answer. :)
Dennis Roberts

related questions