Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-3881

User shouldn't be able to use empty JNDI name ('java:/' or 'java:jboss/')

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 9.0.0.Beta1
    • 9.0.0.Alpha1
    • JCA
    • None

    Description

      https://bugzilla.redhat.com/show_bug.cgi?id=1019260

      Description of problem:
      Currently the only validation for JNDI names is: JNDI name has to start with 'java:/' or 'java:jboss/'. But user is able to enter just 'java:/' or 'java:jboss/' as JNDI name. Using this JNDI name for eg. data-source will lead to java.lang.IllegalArgumentException: Empty name segment is not allowed for jboss.

      Attachments

        Activity

          People

            jeff.zhang_jira Jeff Zhang (Inactive)
            jeff.zhang_jira Jeff Zhang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: