Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-1055

Security.AccessControlException in client under SecurityManager when trying to connect using EUSRIDPWD security mechanism

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.0.2.0, 10.0.2.1, 10.1.1.0, 10.1.2.1, 10.1.3.1
    • Fix Version/s: 10.1.3.1, 10.2.1.6
    • Component/s: Network Client
    • Labels:
      None
    • Environment:
      all

      Description

      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)

        Attachments

        1. for_10.1_derby1055.diff.txt
          12 kB
          Sunitha Kambhampati
        2. for_10.1_derby1055.stat.txt
          0.8 kB
          Sunitha Kambhampati
        3. Derby1055.3.diff.txt
          27 kB
          Sunitha Kambhampati
        4. Derby1055.3.stat.txt
          0.7 kB
          Sunitha Kambhampati
        5. Derby1055.2.stat.txt
          0.7 kB
          Sunitha Kambhampati
        6. Derby1055.2.diff.txt
          11 kB
          Sunitha Kambhampati
        7. Derby1055.diff.txt
          13 kB
          Sunitha Kambhampati
        8. Derby1055.stat.txt
          0.8 kB
          Sunitha Kambhampati

          Activity

            People

            • Assignee:
              skambha Sunitha Kambhampati
              Reporter:
              skambha Sunitha Kambhampati
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: