Results 1 to 2 of 2

Thread: Acegi Authentication - store user information in session

  1. #1
    Join Date
    Mar 2009
    Posts
    2

    Smile 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. #2

    Default

    Use the below line of code to get the user

    SecurityContextHolder.getContext().getAuthenticati on()

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •