Announcement Announcement Module
Collapse
No announcement yet.
Acegi Authentication - store user information in session Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Acegi Authentication - store user information in session

    Hi,

    I am using Acegi for authentication using LDAP. During authentication I want to capture the user information and store it in a user bean in session. How can I do this declaratively/programmatically?

    Please let me know if you need any more information in this regard?

    Thanks,
    Jan

  • #2
    Use the below line of code to get the user

    SecurityContextHolder.getContext().getAuthenticati on()

    Comment

    Working...
    X