Bug 1020343

Summary: Fix the error message on LDAP security screen
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Petr Kremensky <pkremens>
Component: InstallerAssignee: Francisco Canas <fcanas>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Kremensky <pkremens>
Severity: low Docs Contact: Russell Dickenson <rdickens>
Priority: unspecified    
Version: 6.2.0CC: thauser
Target Milestone: ER7   
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:22:08 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:

Description Petr Kremensky 2013-10-17 13:26:21 UTC
Original issue: 
 BZ1018745 - Can enter empty username filter on LDAP security configuration screen, installation will fail.

Description of problem:
 Fix error message on LDAP security screen "A new LDAP security realm requires a Security Realm Name, an LDAP Username, and a Base Distinguished Name (Base DN). All three of these fields must be filled.". I think the best way it would be to use same message for all three fields saying:
"A new LDAP security realm requires a Security Realm Name, a Base Distinguished Name (Base DN), and a Username filter. All three of these fields must be filled."


Version-Release number of selected component (if applicable):
 EAP 6.2.0.ER6

How reproducible:
 always

Steps to Reproduce:
 1. Start gui installation, use default values until you reach Post-install configuration screen.
 2. Select to Perform additional post-install configuration, check to Enable LDAP authentication.
 3. Fill password fields on first LDAP Configuration screen, push Next button to enter LDAP security configuration screen.
 4. Enter "" into input field.

Actual results:
 "A new LDAP security realm requires a Security Realm Name, an LDAP Username, and a Base Distinguished Name (Base DN). All three of these fields must be filled." for empty Security Realm Name and Base DN. "Username filter must not be blank" for empty Username filter.

Expected results:
 "A new LDAP security realm requires a Security Realm Name, a Base Distinguished Name (Base DN), and a Username filter. All three of these fields must be filled." for all input fields.

Comment 1 Francisco Canas 2013-10-17 14:21:29 UTC
Changed the error message for a blank username filter to match expected result.

http://git.app.eng.bos.redhat.com/jbossas-installer.git/commit/?h=eap-6.2&id=ddd128f268dcb9189a74beac08d5fc35a687ad46

Comment 2 Petr Kremensky 2013-11-01 12:46:18 UTC
Verified on EAP 6.2.0.ER7 installer.