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

tighten the attribute sytax check for JNDI/LDAPFrom the reporter

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P4
    • 6-pool
    • 6u21, 7
    • core-libs
    • generic
    • 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

                robm Robert Mckenna
                xuelei Xuelei Fan
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: