Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1101052

Summary: <security-settings> sets the roles attribute wrong using spaces instead of , when using the admin console
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Peter Larsen <plarsen>
Component: ConfigAdmin, HornetQAssignee: Jeff Mesnil <jmesnil>
Status: CLOSED CURRENTRELEASE QA Contact: Miroslav Novak <mnovak>
Severity: medium Docs Contact: Russell Dickenson <rdickens>
Priority: unspecified    
Version: 6.2.0CC: jawilson, mnovak, msvehla, thomas.diesler
Target Milestone: ER9Flags: thomas.diesler: needinfo-
Target Release: EAP 6.3.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-07 07:02:11 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 Peter Larsen 2014-05-26 01:46:29 UTC
Description of problem:

When using the admin console to create HornetQ Security Settings, the roles are added with space separators instead of comma (,). 

Version-Release number of selected component (if applicable):

6.2.0

How reproducible:

Every time.

Steps to Reproduce:
Use quickstart "deltaspike-helloworld-jms" and add a user quickstartUser + the queues as described in the README.md. In the console, under the Messaging Destination, create security settings for the quickstartUser to allow for Producer and Consumer. Once saved, check that the standalone-full.xml contains the <security-settings> section but instead of , in the role list there are spaces (the guest user is already added to the producer/consumer privileges).  

The demo will fail with missing CONSUMER privileges. 

Stop the server, replace the spaces with , and restart the server. Now the demo works.

Actual results:

Demo fails.

Expected results:

Demo should run.

Additional info:

Comment 1 Miroslav Novak 2014-07-07 07:02:11 UTC
I did a review of this bz for EAP 6.3.0.ER9 and it works with both - , and spaces. 

I'll close this bz. Feel free to re-open in case I misuderstood something here.

Comment 2 Peter Larsen 2014-07-07 16:42:44 UTC
On 6.2 spaces cannot be used a separators. If that's changed in 6.3 I presume the issue is resolved there. That just leaves current production users without a fix?

Comment 4 Jeff Mesnil 2014-07-08 07:11:02 UTC
Bug was fixed in upstream in AS7-5808.

Note that using spaces is the correct way to delimit a list in AS7/WildFly XML configuration. In that particular case, we also support commas to be compatible with HornetQ own XML configuration schema