1. A method of automatically providing access to a database from a client application based on prior authentication of a user, the method comprising: obtaining a login credential created responsive to an input provided by the user during the prior authentication; creating, by a driver, a security context that includes a context object based at least in part on an authenticated subject representing an authenticated instance of the user, the authenticated subject including the login credential; initializing, by the driver, the security context including creating a login request based on a wire protocol and populating the login request with a token based on an instance of the security context; and using the security context to establish a secure connection to the database for communication between the client application and the database.