[jboss-jira] [JBoss JIRA] (WFLY-3881) User shouldn't be able to use empty JNDI name ('java:/' or 'java:jboss/')

Jay Kumar SenSharma (JIRA) issues at jboss.org
Thu Sep 25 07:07:03 EDT 2014


     [ https://issues.jboss.org/browse/WFLY-3881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jay Kumar SenSharma updated WFLY-3881:
--------------------------------------
    Summary: User shouldn't be able to use empty JNDI name ('java:/' or 'java:jboss/')  (was: User shouldn't be able to use empty JDNI name ('java:/' or 'java:jboss/'))


> User shouldn't be able to use empty JNDI name ('java:/' or 'java:jboss/')
> -------------------------------------------------------------------------
>
>                 Key: WFLY-3881
>                 URL: https://issues.jboss.org/browse/WFLY-3881
>             Project: WildFly
>          Issue Type: Bug
>          Components: JCA
>    Affects Versions: 9.0.0.Alpha1
>            Reporter: Jeff Zhang
>            Assignee: Jeff Zhang
>            Priority: Minor
>
> 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. 



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jboss-jira mailing list