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

David Lloyd (JIRA) issues at jboss.org
Mon Sep 22 10:41:02 EDT 2014


    [ https://issues.jboss.org/browse/WFLY-3881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13004818#comment-13004818 ] 

David Lloyd commented on WFLY-3881:
-----------------------------------

By "enter" do you mean "lookup"?  Or {{@Resource}}, or something else?

> User shouldn't be able to use empty JDNI 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