[jboss-jira] [JBoss JIRA] (WFLY-3881) User shouldn't be able to use empty JNDI name ('java:/' or 'java:jboss/')
Jeff Zhang (JIRA)
issues at jboss.org
Mon Nov 3 20:29:35 EST 2014
[ https://issues.jboss.org/browse/WFLY-3881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeff Zhang resolved WFLY-3881.
------------------------------
Fix Version/s: 9.0.0.Beta1
Resolution: Done
BZ1019260/BZ1027827
> 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
> Fix For: 9.0.0.Beta1
>
>
> 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