[CONJ-156] SecurityManager being used incorrectly Created: 2015-05-22  Updated: 2015-06-23  Resolved: 2015-06-23

Status: Closed
Project: MariaDB Connector/J
Component/s: Other
Affects Version/s: 1.1.8
Fix Version/s: 1.1.9

Type: Bug Priority: Critical
Reporter: Andy Shulman Assignee: Diego Dupin
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Duplicate
is duplicated by CONJ-135 SecurityManager issue - don't create ... Closed
Relates
relates to CONJ-75 Implement useful jdbc4 abort(Executor... Closed
relates to CONJ-121 Issue with org.mariadb.jdbc.MySQLConn... Closed

 Description   

SecurityManager checks were added in the fixed for the two linked bugs. However, you create a new SecurityManager rather than getting the configured SecurityManager via System.getSecurityManager(). In most JVM installations, people are running without SecurityManagers and so will not have policy set up and applications that call abort or setNetworkTimeout will throw SecurityExceptions.


Generated at Thu Feb 08 03:13:35 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.