[ http://issues.apache.org/jira/browse/DERBY-1055?page=comments#action_12368767 ]
Sunitha Kambhampati commented on DERBY-1055: -------------------------------------------- Thanks Kathey for looking at this. Here is the short summary: --------------------------------- Fix for DERBY-1055: Security.AccessControlException in client under Security Manager when trying to connect using EUSRIDPWD mechanism. Patch - removes the unnecessary addProvider call in EncryptionManager that was causing the Security.AccessControlException. - enables test to connect using EUSRIDPWD mechanism and updates necessary masters ------------------------------ > Security.AccessControlException in client under SecurityManager when trying > to connect using EUSRIDPWD security mechanism > ------------------------------------------------------------------------------------------------------------------------- > > Key: DERBY-1055 > URL: http://issues.apache.org/jira/browse/DERBY-1055 > Project: Derby > Type: Bug > Components: Network Client > Versions: 10.0.2.0, 10.0.2.1, 10.1.1.0, 10.1.2.0, 10.1.1.1, 10.1.1.2, > 10.1.2.1, 10.1.2.2 > Environment: all > Reporter: Sunitha Kambhampati > Assignee: Sunitha Kambhampati > Priority: Minor > Fix For: 10.2.0.0 > Attachments: Derby1055.2.diff.txt, Derby1055.2.stat.txt, > Derby1055.3.diff.txt, Derby1055.3.stat.txt, Derby1055.diff.txt, > Derby1055.stat.txt > > When using EUSRIDPWD security mechanism, the JCE provider is added and since > this is not in a privileged block, an accesscontrol exception is raised when > trying to connect using EUSRIDPWD security mechanism, when client is run > under security manager. > Enabled test (T5) in testSecMec.java > > T5: > > jdbc:derby://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat;user=neelima;password=lee;securityMechanism=9 > > - EXCEPTION Unexpected throwable caught > > java.security.AccessControlException: access denied > > (java.security.SecurityPermission insertProvider.SunJCE) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
