<div>Hi all!</div>
<div> studied the dbaccess of opencms and realized that every datatype comming out of the db has it's own DbDriver class. So if for example a user should get out of the db into the UserList of the admin view, the request of the list has to go through
<div> </div>
<div> 1) CmsObject</div>
<div> where the requestContext is added to the request,</div>
<div> no problem to cutomize this, a public getter for the COntext is provided</div>
<div> </div>
<div> 2) CmsSecurityManager</div>
<div> where the DbContext is added to the request,</div>
<div> </div>
<div> 3) CmsDriverManager </div>
<div> here the special driver gets init </div>
<div> </div></div>
<div>I want to develop my own cutom DbDriver.</div>
<div>The DbDrivers of opencms uses the dbpool and invoke a dbconnection with a CmsDbContext.</div>
<div>The CmsDbContext is set in the CmsSecurityManager, but this class is final and provides no possibility to get the CmsDbContext.</div>
<div>The DbDrivers get initialized at CmsDriverManager which is also final</div>
<div> </div>
<div>So my question is : </div>
<div>
<div> </div>
<div>how to get this DbContext and implement the new Driver correctly to Opencms?</div>
<div> </div>
<div>thx andy</div>
<div> </div></div>