[ http://issues.apache.org/jira/browse/DERBY-1055?page=all ]

Sunitha Kambhampati updated DERBY-1055:
---------------------------------------

    Attachment: Derby1055.3.diff.txt
                Derby1055.3.stat.txt

After the Derby928 checkin, the patch to this issue got outdated. So, I am 
attaching anew patch 'Derby1-55.3.diff.txt' after merging the changes with the 
latest codeline.

The changes in 'Derby1055.3.diff.txt' are the same as in Derby1055.2.diff.txt 
except that it also accounts for changes that went into testSecMec.java test as 
part of the Derby928 checkin.

Ran tests with derbynetmats (JCC 2.4)and derbynetclientmats on ibm142/linux ok 
with known failures (SURTest, and NSInSameJVM)
Also ran derbynet/testSecMec.java test with 
jdk131/jdk141/jdk142/jdk15/ibm131/ibm141/ibm142/ibm15 ok.

Can someone review and commit this change. Thanks. 

> 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

Reply via email to