主权项 |
1. A method for user identification, the method comprising relaying an identifier of a user of an application server to a database associated with the application server, wherein the relaying is performed via a transaction request transmitted from the application server to the database, based on a user request from said user to indirectly access the database via the application server, wherein the transaction request comprises a request to perform at least one operation selected from the group consisting of retrieving data from the database, storing data in the database, and altering data in the database, the relaying comprises operating an interface filter to intercept the identifier of the user and operating an outgoing filter to receive the identifier of the user from the interface filter and to attach the identifier of the user to the transaction request from the application server to the database, and wherein attaching the identifier to the transaction request comprises implanting the identifier in an end-to-end metric of the transaction request, implanting the identifier in a connection property of the transaction request, or implanting the identifier as a note in a Structured Query Language (SQL) query. |