Fix DBCP-177
Enable DBCP to work with a SecurityManager such that only DBCP needs to be granted the necessary permissions to communicate with the database.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/dbcp/trunk@1565667 13f79535-47bb-0310-9956-ffa450edef68