Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6979700

tighten the attribute sytax check for JNDI/LDAPFrom the reporter

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 6u21, 7
    • Fix Version/s: 6-pool
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Introduced In Version:
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        From the reporter:
        --------------------------------------------------------------
        ..., when I am creating a new entry through JNDI it is allowing me to add an attribute of this type of format. If the object identifier is invalid, then the add request also should fail right? Currently the behavior is that only the search request is failing but add request is succeeding.

        Ex:
                    // Add the initial required attributes
                    Attribute attr3 = new BasicAttribute("description;a_b");
                    attr3.add("test_1");
                    attrs.put(attr3);
                    ctx.createSubcontext("cn=test_1,dc=us,dc=oracle,dc=com",attrs);

        But again enforcing this now will impact the apps and it will be a regression for us.
        --------------------------------------------------------------

        We need to tighten the checking for add/change attribute. please PAY ATTENTION TO the compatibility problem.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  robm Robert Mckenna
                  Reporter:
                  xuelei Xue-Lei Fan
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: