Bug 1019241
Summary: | Fix JNDI input validation. | ||
---|---|---|---|
Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Petr Kremensky <pkremens> |
Component: | Installer | Assignee: | Miles Tjandrawidjaja <mtjandra> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Petr Kremensky <pkremens> |
Severity: | high | Docs Contact: | Russell Dickenson <rdickens> |
Priority: | unspecified | ||
Version: | 6.2.0 | CC: | mtjandra, thauser |
Target Milestone: | CR3 | ||
Target Release: | EAP 6.2.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-12-15 16:23:01 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Petr Kremensky
2013-10-15 11:09:28 UTC
Validation has been added for JNDI input field for Datasource page and Infinispan Configuration screen. http://git.app.eng.bos.redhat.com/jbossas-installer.git/commit/?h=eap-6.2 Correct commits: http://git.app.eng.bos.redhat.com/jbossas-installer.git/commit/?h=eap-6.2&id=d29be40a9fa288fb53cea91e6e37eec4b6d7d6da http://git.app.eng.bos.redhat.com/jbossas-installer.git/commit/?h=eap-6.2&id=bf978e15cf95b6b77174df3c282718c141f7a6b1 I am still able to break it using "java:/ ". Can you please fix also this case. Thanks CLI actually trims the string so it ends like "java:/". "java:/ " and "java:/" both considered invalid. CLI should not logner trim JNDI name. This allows from something like "java:/ space " According to http://docs.oracle.com/javase/jndi/tutorial/beyond/misc/policy.html the JNDI does not define any naming policy of its own. http://git.app.eng.bos.redhat.com/jbossas-installer.git/commit/?h=eap-6.2&id=297bcd46da8123eae6344c27b6fd8d970536de4f JNDI validation now works fine, but you accidentally removed it from Infinispan configuration panel, so it is working only for Datasource setup. Yes your right. Added validation back in, also made sure spaces are retained. http://git.app.eng.bos.redhat.com/jbossas-installer.git/commit/?h=eap-6.2 Verified on EAP 6.2.0.CR3 installer. JNDI validation is now working on all panels. |