0 Replies Latest reply on Jul 31, 2003 10:52 AM by Nandak

    Transaction within ServerSide logi module

    Nandak Newbie

      Hi :

      As we know, the server side authentication is triggered by an EJB call to the server from the client.
      Whether or not the user succeeded the login process, we have a need to update the user attributes in the database through an entity EJB call, from within the server login module.
      But since we are throwing a failed login exception in the case of a failure, the transaction is doomed - meaning it never commits and the update we had to make never happens. Nested user transactions will not work within a container managed transactions.

      Example of the update we want to make is : update the user's last login attempt time (both successful login and failed login).

      I would appreciate any help in how to get the update done.

      Thanks.