[ http://issues.apache.org/jira/browse/DERBY-1055?page=all ]
Mike Matrigali updated DERBY-1055: ---------------------------------- I committed the posted patch to the 10.1 branch. m101_142:148>svn commit Sending java\client\org\apache\derby\client\am\EncryptionManager.java Adding java\testing\org\apache\derbyTesting\functionTests\master\DerbyNe t\ibm14 Adding java\testing\org\apache\derbyTesting\functionTests\master\DerbyNe t\ibm14\testSecMec.out Sending java\testing\org\apache\derbyTesting\functionTests\master\DerbyNe t\testSecMec.out Adding java\testing\org\apache\derbyTesting\functionTests\master\DerbyNe tClient\ibm14 Adding java\testing\org\apache\derbyTesting\functionTests\master\DerbyNe tClient\ibm14\testSecMec.out Adding java\testing\org\apache\derbyTesting\functionTests\master\DerbyNe tClient\jdk14\testSecMec.out Sending java\testing\org\apache\derbyTesting\functionTests\master\DerbyNe tClient\testSecMec.out Sending java\testing\org\apache\derbyTesting\functionTests\tests\derbynet \testSecMec.java Transmitting file data ....... Committed revision 399498. > 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.1, 10.0.2.0, 10.1.1.0, 10.1.1.1, 10.1.1.2, 10.1.2.0, > 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, for_10.1_derby1055.diff.txt, for_10.1_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