Announcement Announcement Module
Collapse
No announcement yet.
Access Principal from POJO Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Access Principal from POJO

    I need access to Principal in my Service (implemented as a POJO).

    I would use 'EJBContext.getCallerPrincipal()' in the EJB....but how can i get access to the principle in a POJO?

    Can Spring Proxy make this info available via some ThreadLocal variable?

    - Ram.

  • #2
    Look at Acegi Security for Spring.

    Comment

    Working...
    X