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

LDAP user authentication fails under a security manager

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.0.2.0, 10.0.2.1, 10.1.1.0, 10.1.2.1, 10.2.1.6
    • 10.3.2.1, 10.4.1.3
    • Services
    • None
    • Normal
    • Patch Available
    • Security

    Description

      Running the test jdbcapi/secureUsers1.sql with a security manager results in:

      > ERROR 08004: Connection refused : javax.naming.CommunicationException: noSuchMachine:389 [Root exception is java.security.AccessControlException: access denied (java.net.SocketPermission noSuchMachine resolve)]

      Adding this permission to the policy file has no effect. which means a priv block is required around the LDAP call.
      permission java.net.SocketPermission "noSuchMachine", "resolve";

      Attachments

        1. derby-857_diff.txt
          3 kB
          Katherine Marsden

        Activity

          People

            kmarsden Katherine Marsden
            djd Daniel John Debrunner
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: