]
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.