0 Replies Latest reply on Jul 1, 2012 12:47 PM by rmazzola

    How to configure JBoss to use DB2 Trusted Context ?

    rmazzola

      Hi

      Someone have experience how to use a DB2 trusted context with Jboss (jboss 4.x or 5.x or 6.x )

       

       

      With DB2 trusted contexts, a mid-tier application can assert the user identity to the database so that it is that user identity that is used for access control and auditing purposes

       

      Of couse i'm using a J2EE application using ejb 2.1 BMP; so i'm gettting the connection from my ejb code e.g.

       

       

               DataSource ds = (DataSource) getInitialContext().lookup(aName);

               vConn = ds.getConnection();

      and using standard J2EE JAAS login module

      Thanks