Announcement Announcement Module
Collapse
No announcement yet.
Determining User ID Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Determining User ID

    I have a Dao class that needs to store the user ID as audit information when processing a request. It is not clear to me how I would be able to retrieve the user ID that was passed into web service call (usually stored on the security header) inside my Dao. Any ideas?

  • #2
    If you use Acegi, it's as simple as obtaining the Authentication from the SecurityContextHolder.

    Comment

    Working...
    X