Not unless you require security so that a user has to be authenticated for
access to use the Entity in which case the caller is available via the
EJBContext.getCallerPrincipal().

----- Original Message ----- 
From: "Glenn Harris" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, June 24, 2001 2:04 PM
Subject: [JBoss-user] user identity to the database question


> Currently, I am building a prototype that has a requirement that the
> database knows who is access a row in the table. This arrangement is so that
> we can audit who creates and who last updates a record. I am using version
> 2.2 of JBOSS running on Windows NT. The database is a Sybase database and
> their JDBC drivers. When a row is either inserted or updated, the identity
> seen by the database is that given to initially create the pool. Is there a
> way to get the identity of the user invoking the entity bean to be passed
> onto the database?
> 
> Any help would be greatly appreciated, thank you.
> 
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to