[jira] [Updated] (QPID-8165) [Broker-J][WMC] Validation of configured object names is too restrictive in Web Management Console

2018-05-14 Thread Keith Wall (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-8165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Keith Wall updated QPID-8165:
-
Description: 
WMC only allows to create (or edit) configured objects with names consisting 
only from any mixture of digits, letters, and underscores. This restriction was 
added into Web Management Console to meet the requirements of AMQP 0-8 
protocol. The queue and exchange names in  domain definition are defined as  
name consisting only from digits, letters, and underscores.

{quote}
The queue name identifies the queue within the vhost.  Queue
names may consist of any mixture of digits, letters, and
underscores.
{quote}

{quote}
The exchange name is a client-selected string that identifies
  the exchange for publish methods.  Exchange names may consist
  of any mixture of digits, letters, and underscores.  Exchange
  names are scoped by the virtual host.
{quote}

However, in definitions of declare commands for queue and exchange  the AMQP 
0-8 specifies a regular expression for the names allowing more characters:
{code}
^[a-zA-Z0-9-_.:]*$
{code}
The same regular expression is defined in specifications for AMQP 0-9 and 0-9-1.

The names of virtual hosts in specifications for AMQP 0-8 and AMQP 0-9 should 
match regular expression (as per documentation for connection open)
{code}
^[a-zA-Z0-9/-_]+$
{code}

AMQP 0-10 allows more characters in queue name

{quote}
 Queue names must have a length
of between 1 and 255 characters inclusive, must start with a digit, 
letter or underscores
('_') character, and must be otherwise encoded in UTF-8.
{quote}

As a minimum, the Web Management Console should allow creation of queues, 
exchanges with names matching {{\^[a-zA-Z0-9-_.:]\+$}}. The virtual host names 
matching regular expression {{\^[a-zA-Z0-9-_]+\$}} should be allowed (i.e. 
continue to disallow the slash). The names of other configured objects can be 
unrestricted. 

Alternatively, we can add some sort of AMQP compatibility modes to Web 
Management Console and management API when required level compatibility can be 
configured by the user and different validation rules can apply based on 
required compatibility.



  was:
WMC only allows to create (or edit) configured objects with names consisting 
only from any mixture of digits, letters, and underscores. This restriction was 
added into Web Management Console to meet the requirements of AMQP 0-8 
protocol. The queue and exchange names in  domain definition are defined as  
name consisting only from digits, letters, and underscores.

{quote}
The queue name identifies the queue within the vhost.  Queue
names may consist of any mixture of digits, letters, and
underscores.
{quote}

{quote}
The exchange name is a client-selected string that identifies
  the exchange for publish methods.  Exchange names may consist
  of any mixture of digits, letters, and underscores.  Exchange
  names are scoped by the virtual host.
{quote}

However, in definitions of declare commands for queue and exchange  the AMQP 
0-8 specifies a regular expression for the names allowing more characters:
{code}
^[a-zA-Z0-9-_.:]*$
{code}
The same regular expression is defined in specifications for AMQP 0-9 and 0-9-1.

The names of virtual hosts in specifications for AMQP 0-8 and AMQP 0-9 should 
match regular expression (as per documentation for connection open)
{code}
^[a-zA-Z0-9/-_]+$
{code}

AMQP 0-10 allows more characters in queue name

{quote}
 Queue names must have a length
of between 1 and 255 characters inclusive, must start with a digit, 
letter or underscores
('_') character, and must be otherwise encoded in UTF-8.
{quote}

As a minimum, the Web Management Console should allow creation of queues, 
exchanges with names matching {{\^[a-zA-Z0-9-_.:]+$}}. The virtual host names 
matching regular expression {{\^[a-zA-Z0-9-_]++}} should be allowed (omitting 
the slash). The names of other configured objects can be unrestricted. 

Alternatively, we can add some sort of AMQP compatibility modes to Web 
Management Console and management API when required level compatibility can be 
configured by the user and different validation rules can apply based on 
required compatibility.




> [Broker-J][WMC] Validation of configured object names is too restrictive in 
> Web Management Console
> --
>
> Key: QPID-8165
> URL: https://issues.apache.org/jira/browse/QPID-8165
> Project: Qpid
>  Issue Type: Bug
>  Components: Broker-J
>Affects Versions: qpid-java-6.1.6, qpid-java-broker-7.0.3, 
> qpid-java-broker-7.0.2, qpid-java-6.0, qpid-java-6.0.1, qpid-java-6.0.2, 
> qpid-java-6.0.3, qpid-java-6.0.4, qpid-java-6.0.5, qpid-java-6.1, 
> qpid-java-6.0.6, qpid-java-6.1.1, 

[jira] [Updated] (QPID-8165) [Broker-J][WMC] Validation of configured object names is too restrictive in Web Management Console

2018-05-14 Thread Keith Wall (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-8165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Keith Wall updated QPID-8165:
-
Description: 
WMC only allows to create (or edit) configured objects with names consisting 
only from any mixture of digits, letters, and underscores. This restriction was 
added into Web Management Console to meet the requirements of AMQP 0-8 
protocol. The queue and exchange names in  domain definition are defined as  
name consisting only from digits, letters, and underscores.

{quote}
The queue name identifies the queue within the vhost.  Queue
names may consist of any mixture of digits, letters, and
underscores.
{quote}

{quote}
The exchange name is a client-selected string that identifies
  the exchange for publish methods.  Exchange names may consist
  of any mixture of digits, letters, and underscores.  Exchange
  names are scoped by the virtual host.
{quote}

However, in definitions of declare commands for queue and exchange  the AMQP 
0-8 specifies a regular expression for the names allowing more characters:
{code}
^[a-zA-Z0-9-_.:]*$
{code}
The same regular expression is defined in specifications for AMQP 0-9 and 0-9-1.

The names of virtual hosts in specifications for AMQP 0-8 and AMQP 0-9 should 
match regular expression (as per documentation for connection open)
{code}
^[a-zA-Z0-9/-_]+$
{code}

AMQP 0-10 allows more characters in queue name

{quote}
 Queue names must have a length
of between 1 and 255 characters inclusive, must start with a digit, 
letter or underscores
('_') character, and must be otherwise encoded in UTF-8.
{quote}

As a minimum, the Web Management Console should allow creation of queues, 
exchanges with names matching {{\^[a-zA-Z0-9-_.:]+$}}. The virtual host names 
matching regular expression {{\^[a-zA-Z0-9-_]++}} should be allowed (omitting 
the slash). The names of other configured objects can be unrestricted. 

Alternatively, we can add some sort of AMQP compatibility modes to Web 
Management Console and management API when required level compatibility can be 
configured by the user and different validation rules can apply based on 
required compatibility.



  was:
WMC only allows to create (or edit) configured objects with names consisting 
only from any mixture of digits, letters, and underscores. This restriction was 
added into Web Management Console to meet the requirements of AMQP 0-8 
protocol. The queue and exchange names in  domain definition are defined as  
name consisting only from digits, letters, and underscores.

{quote}
The queue name identifies the queue within the vhost.  Queue
names may consist of any mixture of digits, letters, and
underscores.
{quote}

{quote}
The exchange name is a client-selected string that identifies
  the exchange for publish methods.  Exchange names may consist
  of any mixture of digits, letters, and underscores.  Exchange
  names are scoped by the virtual host.
{quote}

However, in definitions of declare commands for queue and exchange  the AMQP 
0-8 specifies a regular expression for the names allowing more characters:
{code}
^[a-zA-Z0-9-_.:]*$
{code}
The same regular expression is defined in specifications for AMQP 0-9 and 0-9-1.

The names of virtual hosts in specifications for AMQP 0-8 and AMQP 0-9 should 
match regular expression (as per documentation for connection open)
{code}
^[a-zA-Z0-9/-_]+$
{code}

AMQP 0-10 allows more characters in queue name

{quote}
 Queue names must have a length
of between 1 and 255 characters inclusive, must start with a digit, 
letter or underscores
('_') character, and must be otherwise encoded in UTF-8.
{quote}

As a minimum, the Web Management Console should allow creation of queues, 
exchanges with names matching {{^[a-zA-Z0-9-_.:]+$}}. The virtual host names 
matching regular expression {{^[a-zA-Z0-9/-_]+$}} should be allowed . The names 
of other configured objects can be unrestricted. 

Alternatively, we can add some sort of AMQP compatibility modes to Web 
Management Console and management API when required level compatibility can be 
configured by the user and different validation rules can apply based on 
required compatibility.




> [Broker-J][WMC] Validation of configured object names is too restrictive in 
> Web Management Console
> --
>
> Key: QPID-8165
> URL: https://issues.apache.org/jira/browse/QPID-8165
> Project: Qpid
>  Issue Type: Bug
>  Components: Broker-J
>Affects Versions: qpid-java-6.1.6, qpid-java-broker-7.0.3, 
> qpid-java-broker-7.0.2, qpid-java-6.0, qpid-java-6.0.1, qpid-java-6.0.2, 
> qpid-java-6.0.3, qpid-java-6.0.4, qpid-java-6.0.5, qpid-java-6.1, 
> qpid-java-6.0.6, qpid-java-6.1.1, qpid-java-6.1.2, qpid-java-6.0.7, 
> qpid-java-6.1.3, 

[jira] [Updated] (QPID-8165) [Broker-J][WMC] Validation of configured object names is too restrictive in Web Management Console

2018-05-14 Thread Keith Wall (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-8165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Keith Wall updated QPID-8165:
-
Description: 
WMC only allows to create (or edit) configured objects with names consisting 
only from any mixture of digits, letters, and underscores. This restriction was 
added into Web Management Console to meet the requirements of AMQP 0-8 
protocol. The queue and exchange names in  domain definition are defined as  
name consisting only from digits, letters, and underscores.

{quote}
The queue name identifies the queue within the vhost.  Queue
names may consist of any mixture of digits, letters, and
underscores.
{quote}

{quote}
The exchange name is a client-selected string that identifies
  the exchange for publish methods.  Exchange names may consist
  of any mixture of digits, letters, and underscores.  Exchange
  names are scoped by the virtual host.
{quote}

However, in definitions of declare commands for queue and exchange  the AMQP 
0-8 specifies a regular expression for the names allowing more characters:
{code}
^[a-zA-Z0-9-_.:]*$
{code}
The same regular expression is defined in specifications for AMQP 0-9 and 0-9-1.

The names of virtual hosts in specifications for AMQP 0-8 and AMQP 0-9 should 
match regular expression (as per documentation for connection open)
{code}
^[a-zA-Z0-9/-_]+$
{code}

AMQP 0-10 allows more characters in queue name

{quote}
 Queue names must have a length
of between 1 and 255 characters inclusive, must start with a digit, 
letter or underscores
('_') character, and must be otherwise encoded in UTF-8.
{quote}

As a minimum, the Web Management Console should allow creation of queues, 
exchanges with names matching {{^[a-zA-Z0-9-_.:]+$}}. The virtual host names 
matching regular expression {{^[a-zA-Z0-9/-_]+$}} should be allowed . The names 
of other configured objects can be unrestricted. 

Alternatively, we can add some sort of AMQP compatibility modes to Web 
Management Console and management API when required level compatibility can be 
configured by the user and different validation rules can apply based on 
required compatibility.



  was:
WMC only allows to create (or edit) configured objects with names consisting 
only from any mixture of digits, letters, and underscores. This restriction was 
added into Web Management Console to meet the requirements of AMQP 0-8 
protocol. The queue and exchange names in  domain definition are defined as  
name consisting only from digits, letters, and underscores.

{quote}
The queue name identifies the queue within the vhost.  Queue
names may consist of any mixture of digits, letters, and
underscores.
{quote}

{quote}
The exchange name is a client-selected string that identifies
  the exchange for publish methods.  Exchange names may consist
  of any mixture of digits, letters, and underscores.  Exchange
  names are scoped by the virtual host.
{quote}

However, in definitions of declare commands for queue and exchange  the AMQP 
0-8 specifies a regular expression for the names allowing more characters:
{code}
^[a-zA-Z0-9-_.:]*$
{code}
The same regular expression is defined in specifications for AMQP 0-9 and 0-9-1.

The names of virtual hosts in specifications for AMQP 0-8 and AMQP 0-9 should 
match regular expression (as per documentation for connection open)
{code}
^[a-zA-Z0-9/-_]+$
{code}

AMQP 0-10 allows more characters in queue name

{quote}
 Queue names must have a length
of between 1 and 255 characters inclusive, must start with a digit, 
letter or underscores
('_') character, and must be otherwise encoded in UTF-8.
{quote}

As a minimum, the Web Management Console should allow creation of queues, 
exchanges with names matching {{^[a-zA-Z0-9-_.:]*$}}. The virtual host names 
matching regular expression {{^[a-zA-Z0-9/-_]+$}} should be allowed . The names 
of other configured objects can be unrestricted. 

Alternatively, we can add some sort of AMQP compatibility modes to Web 
Management Console and management API when required level compatibility can be 
configured by the user and different validation rules can apply based on 
required compatibility.




> [Broker-J][WMC] Validation of configured object names is too restrictive in 
> Web Management Console
> --
>
> Key: QPID-8165
> URL: https://issues.apache.org/jira/browse/QPID-8165
> Project: Qpid
>  Issue Type: Bug
>  Components: Broker-J
>Affects Versions: qpid-java-6.1.6, qpid-java-broker-7.0.3, 
> qpid-java-broker-7.0.2, qpid-java-6.0, qpid-java-6.0.1, qpid-java-6.0.2, 
> qpid-java-6.0.3, qpid-java-6.0.4, qpid-java-6.0.5, qpid-java-6.1, 
> qpid-java-6.0.6, qpid-java-6.1.1, qpid-java-6.1.2, qpid-java-6.0.7, 
> qpid-java-6.1.3, qpid-java-6.0.8, 

[jira] [Updated] (QPID-8165) [Broker-J][WMC] Validation of configured object names is too restrictive in Web Management Console

2018-05-04 Thread Alex Rudyy (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-8165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alex Rudyy updated QPID-8165:
-
Description: 
WMC only allows to create (or edit) configured objects with names consisting 
only from any mixture of digits, letters, and underscores. This restriction was 
added into Web Management Console to meet the requirements of AMQP 0-8 
protocol. The queue and exchange names in  domain definition are defined as  
name consisting only from digits, letters, and underscores.

{quote}
The queue name identifies the queue within the vhost.  Queue
names may consist of any mixture of digits, letters, and
underscores.
{quote}

{quote}
The exchange name is a client-selected string that identifies
  the exchange for publish methods.  Exchange names may consist
  of any mixture of digits, letters, and underscores.  Exchange
  names are scoped by the virtual host.
{quote}

However, in definitions of declare commands for queue and exchange  the AMQP 
0-8 specifies a regular expression for the names allowing more characters:
{code}
^[a-zA-Z0-9-_.:]*$
{code}
The same regular expression is defined in specifications for AMQP 0-9 and 0-9-1.

The names of virtual hosts in specifications for AMQP 0-8 and AMQP 0-9 should 
match regular expression (as per documentation for connection open)
{code}
^[a-zA-Z0-9/-_]+$
{code}

AMQP 0-10 allows more characters in queue name

{quote}
 Queue names must have a length
of between 1 and 255 characters inclusive, must start with a digit, 
letter or underscores
('_') character, and must be otherwise encoded in UTF-8.
{quote}

As a minimum, the Web Management Console should allow creation of queues, 
exchanges with names matching {{^[a-zA-Z0-9-_.:]*$}}. The virtual host names 
matching regular expression {{^[a-zA-Z0-9/-_]+$}} should be allowed . The names 
of other configured objects can be unrestricted. 

Alternatively, we can add some sort of AMQP compatibility modes to Web 
Management Console and management API when required level compatibility can be 
configured by the user and different validation rules can apply based on 
required compatibility.



  was:
WMC only allows to create (or edit) configured objects with names consisting 
only from any mixture of digits, letters, and underscores. This restriction was 
added into Web Management Console to meet the requirements of AMQP 0-8 
protocol. The queue and exchange names in  domain definition are defined as  
name consisting only from digits, letters, and underscores.

{quote}
The queue name identifies the queue within the vhost.  Queue
names may consist of any mixture of digits, letters, and
underscores.
{quote}

{quote}
The exchange name is a client-selected string that identifies
  the exchange for publish methods.  Exchange names may consist
  of any mixture of digits, letters, and underscores.  Exchange
  names are scoped by the virtual host.
{quote}

However, in definitions of declare commands for queue and exchange  the AMQP 
0-8 specifies a regular expression for the names allowing more characters:
{code}
^[a-zA-Z0-9-_.:]*$
{code}
The same regular expression is defined in specifications for AMQP 0-9 and 0-9-1.

The names of virtual hosts in specifications for AMQP 0-8 and AMQP 0-9 should 
match regular expression (as per documentation of connection open)
{code}
^[a-zA-Z0-9-_.:]*$
{code}

AMQP 0-10 allows more characters in queue name

{quote}
 Queue names must have a length
of between 1 and 255 characters inclusive, must start with a digit, 
letter or underscores
('_') character, and must be otherwise encoded in UTF-8.
{quote}

As a minimum, the Web Management Console should allow creation of queues, 
exchanges with names matching {{^[a-zA-Z0-9-_.:]*$}}. The virtual host names 
matching regular expression {{^[a-zA-Z0-9/-_]+$}} should be allowed . The names 
of other configured objects can be unrestricted. 

Alternatively, we can add some sort of AMQP compatibility modes to Web 
Management Console and management API when required level compatibility can be 
configured by the user and different validation rules can apply based on 
required compatibility.




> [Broker-J][WMC] Validation of configured object names is too restrictive in 
> Web Management Console
> --
>
> Key: QPID-8165
> URL: https://issues.apache.org/jira/browse/QPID-8165
> Project: Qpid
>  Issue Type: Bug
>  Components: Broker-J
>Affects Versions: qpid-java-6.1.6, qpid-java-broker-7.0.3, 
> qpid-java-broker-7.0.2, qpid-java-6.0, qpid-java-6.0.1, qpid-java-6.0.2, 
> qpid-java-6.0.3, qpid-java-6.0.4, qpid-java-6.0.5, qpid-java-6.1, 
> qpid-java-6.0.6, qpid-java-6.1.1, qpid-java-6.1.2, qpid-java-6.0.7, 
> qpid-java-6.1.3, qpid-java-6.0.8, 

[jira] [Updated] (QPID-8165) [Broker-J][WMC] Validation of configured object names is too restrictive in Web Management Console

2018-04-13 Thread Alex Rudyy (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-8165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alex Rudyy updated QPID-8165:
-
Description: 
WMC only allows to create (or edit) configured objects with names consisting 
only from any mixture of digits, letters, and underscores. This restriction was 
added into Web Management Console to meet the requirements of AMQP 0-8 
protocol. The queue and exchange names in  domain definition are defined as  
name consisting only from digits, letters, and underscores.

{quote}
The queue name identifies the queue within the vhost.  Queue
names may consist of any mixture of digits, letters, and
underscores.
{quote}

{quote}
The exchange name is a client-selected string that identifies
  the exchange for publish methods.  Exchange names may consist
  of any mixture of digits, letters, and underscores.  Exchange
  names are scoped by the virtual host.
{quote}

However, in definitions of declare commands for queue and exchange  the AMQP 
0-8 specifies a regular expression for the names allowing more characters:
{code}
^[a-zA-Z0-9-_.:]*$
{code}
The same regular expression is defined in specifications for AMQP 0-9 and 0-9-1.

The names of virtual hosts in specifications for AMQP 0-8 and AMQP 0-9 should 
match regular expression (as per documentation of connection open)
{code}
^[a-zA-Z0-9-_.:]*$
{code}

AMQP 0-10 allows more characters in queue name

{quote}
 Queue names must have a length
of between 1 and 255 characters inclusive, must start with a digit, 
letter or underscores
('_') character, and must be otherwise encoded in UTF-8.
{quote}

As a minimum, the Web Management Console should allow creation of queues, 
exchanges with names matching {{^[a-zA-Z0-9-_.:]*$}}. The virtual host names 
matching regular expression {{^[a-zA-Z0-9/-_]+$}} should be allowed . The names 
of other configured objects can be unrestricted. 

Alternatively, we can add some sort of AMQP compatibility modes to Web 
Management Console and management API when required level compatibility can be 
configured by the user and different validation rules can apply based on 
required compatibility.



  was:
WMC only allows to create (or edit) configured object with names consisting 
only from any mixture of digits, letters, and underscores. This restriction was 
added into Web Management Console to meet the requirements of AMQP 0-8 
protocol. The queue and exchange names in  domain definition are defined as  
name consisting only from digits, letters, and underscores.

{quote}
The queue name identifies the queue within the vhost.  Queue
names may consist of any mixture of digits, letters, and
underscores.
{quote}

{quote}
The exchange name is a client-selected string that identifies
  the exchange for publish methods.  Exchange names may consist
  of any mixture of digits, letters, and underscores.  Exchange
  names are scoped by the virtual host.
{quote}

However, in definitions of declare commands for queue and exchange  the AMQP 
0-8 specifies a regular expression for the names allowing more characters:
{code}
^[a-zA-Z0-9-_.:]*$
{code}
The same regular expression is defined in specifications for AMQP 0-9 and 0-9-1.

The names of virtual hosts in specifications for AMQP 0-8 and AMQP 0-9 should 
match regular expression (as per documentation of connection open)
{code}
^[a-zA-Z0-9-_.:]*$
{code}

AMQP 0-10 allows more characters in queue name

{quote}
 Queue names must have a length
of between 1 and 255 characters inclusive, must start with a digit, 
letter or underscores
('_') character, and must be otherwise encoded in UTF-8.
{quote}

As a minimum, the Web Management Console should allow creation of queues, 
exchanges with names matching {{^[a-zA-Z0-9-_.:]*$}}, the virtual host names 
can be allowed matching regular expression {{^[a-zA-Z0-9/-_]+$}}. The names of 
other configured objects can be unrestricted. 

Alternatively, we can add some sort of AMQP compatibility modes to Web 
Management Console and management API when required level compatibility can be 
configured by the user and different validation rules can apply based on 
required compatibility.




> [Broker-J][WMC] Validation of configured object names is too restrictive in 
> Web Management Console
> --
>
> Key: QPID-8165
> URL: https://issues.apache.org/jira/browse/QPID-8165
> Project: Qpid
>  Issue Type: Bug
>  Components: Broker-J
>Affects Versions: qpid-java-6.1.6, qpid-java-broker-7.0.3, 
> qpid-java-broker-7.0.2, qpid-java-6.0, qpid-java-6.0.1, qpid-java-6.0.2, 
> qpid-java-6.0.3, qpid-java-6.0.4, qpid-java-6.0.5, qpid-java-6.1, 
> qpid-java-6.0.6, qpid-java-6.1.1, qpid-java-6.1.2, qpid-java-6.0.7, 
> qpid-java-6.1.3, qpid-java-6.0.8, 

[jira] [Updated] (QPID-8165) [Broker-J][WMC] Validation of configured object names is too restrictive in Web Management Console

2018-04-13 Thread Alex Rudyy (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-8165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alex Rudyy updated QPID-8165:
-
Affects Version/s: qpid-java-6.1.6
   qpid-java-broker-7.0.3
   qpid-java-broker-7.0.2
   qpid-java-6.0
   qpid-java-6.0.1
   qpid-java-6.0.2
   qpid-java-6.0.3
   qpid-java-6.0.4
   qpid-java-6.0.5
   qpid-java-6.1
   qpid-java-6.0.6
   qpid-java-6.1.1
   qpid-java-6.1.2
   qpid-java-6.0.7
   qpid-java-6.1.3
   qpid-java-6.0.8
   qpid-java-6.1.4
   qpid-java-broker-7.0.0
   qpid-java-6.1.5
   qpid-java-broker-7.0.1

> [Broker-J][WMC] Validation of configured object names is too restrictive in 
> Web Management Console
> --
>
> Key: QPID-8165
> URL: https://issues.apache.org/jira/browse/QPID-8165
> Project: Qpid
>  Issue Type: Bug
>  Components: Broker-J
>Affects Versions: qpid-java-6.1.6, qpid-java-broker-7.0.3, 
> qpid-java-broker-7.0.2, qpid-java-6.0, qpid-java-6.0.1, qpid-java-6.0.2, 
> qpid-java-6.0.3, qpid-java-6.0.4, qpid-java-6.0.5, qpid-java-6.1, 
> qpid-java-6.0.6, qpid-java-6.1.1, qpid-java-6.1.2, qpid-java-6.0.7, 
> qpid-java-6.1.3, qpid-java-6.0.8, qpid-java-6.1.4, qpid-java-broker-7.0.0, 
> qpid-java-6.1.5, qpid-java-broker-7.0.1
>Reporter: Alex Rudyy
>Priority: Major
> Fix For: qpid-java-broker-7.1.0, qpid-java-broker-7.0.4
>
>
> WMC only allows to create (or edit) configured object with names consisting 
> only from any mixture of digits, letters, and underscores. This restriction 
> was added into Web Management Console to meet the requirements of AMQP 0-8 
> protocol. The queue and exchange names in  domain definition are defined as  
> name consisting only from digits, letters, and underscores.
> {quote}
> The queue name identifies the queue within the vhost.  Queue
> names may consist of any mixture of digits, letters, and
> underscores.
> {quote}
> {quote}
> The exchange name is a client-selected string that identifies
>   the exchange for publish methods.  Exchange names may consist
>   of any mixture of digits, letters, and underscores.  Exchange
>   names are scoped by the virtual host.
> {quote}
> However, in definitions of declare commands for queue and exchange  the AMQP 
> 0-8 specifies a regular expression for the names allowing more characters:
> {code}
> ^[a-zA-Z0-9-_.:]*$
> {code}
> The same regular expression is defined in specifications for AMQP 0-9 and 
> 0-9-1.
> The names of virtual hosts in specifications for AMQP 0-8 and AMQP 0-9 should 
> match regular expression (as per documentation of connection open)
> {code}
> ^[a-zA-Z0-9-_.:]*$
> {code}
> AMQP 0-10 allows more characters in queue name
> {quote}
>  Queue names must have a length
> of between 1 and 255 characters inclusive, must start with a digit, 
> letter or underscores
> ('_') character, and must be otherwise encoded in UTF-8.
> {quote}
> As a minimum, the Web Management Console should allow creation of queues, 
> exchanges with names matching {{^[a-zA-Z0-9-_.:]*$}}, the virtual host names 
> can be allowed matching regular expression {{^[a-zA-Z0-9/-_]+$}}. The names 
> of other configured objects can be unrestricted. 
> Alternatively, we can add some sort of AMQP compatibility modes to Web 
> Management Console and management API when required level compatibility can 
> be configured by the user and different validation rules can apply based on 
> required compatibility.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Updated] (QPID-8165) [Broker-J][WMC] Validation of configured object names is too restrictive in Web Management Console

2018-04-13 Thread Alex Rudyy (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-8165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alex Rudyy updated QPID-8165:
-
Fix Version/s: qpid-java-broker-7.0.4
   qpid-java-broker-7.1.0

> [Broker-J][WMC] Validation of configured object names is too restrictive in 
> Web Management Console
> --
>
> Key: QPID-8165
> URL: https://issues.apache.org/jira/browse/QPID-8165
> Project: Qpid
>  Issue Type: Bug
>  Components: Broker-J
>Reporter: Alex Rudyy
>Priority: Major
> Fix For: qpid-java-broker-7.1.0, qpid-java-broker-7.0.4
>
>
> WMC only allows to create (or edit) configured object with names consisting 
> only from any mixture of digits, letters, and underscores. This restriction 
> was added into Web Management Console to meet the requirements of AMQP 0-8 
> protocol. The queue and exchange names in  domain definition are defined as  
> name consisting only from digits, letters, and underscores.
> {quote}
> The queue name identifies the queue within the vhost.  Queue
> names may consist of any mixture of digits, letters, and
> underscores.
> {quote}
> {quote}
> The exchange name is a client-selected string that identifies
>   the exchange for publish methods.  Exchange names may consist
>   of any mixture of digits, letters, and underscores.  Exchange
>   names are scoped by the virtual host.
> {quote}
> However, in definitions of declare commands for queue and exchange  the AMQP 
> 0-8 specifies a regular expression for the names allowing more characters:
> {code}
> ^[a-zA-Z0-9-_.:]*$
> {code}
> The same regular expression is defined in specifications for AMQP 0-9 and 
> 0-9-1.
> The names of virtual hosts in specifications for AMQP 0-8 and AMQP 0-9 should 
> match regular expression (as per documentation of connection open)
> {code}
> ^[a-zA-Z0-9-_.:]*$
> {code}
> AMQP 0-10 allows more characters in queue name
> {quote}
>  Queue names must have a length
> of between 1 and 255 characters inclusive, must start with a digit, 
> letter or underscores
> ('_') character, and must be otherwise encoded in UTF-8.
> {quote}
> As a minimum, the Web Management Console should allow creation of queues, 
> exchanges with names matching {{^[a-zA-Z0-9-_.:]*$}}, the virtual host names 
> can be allowed matching regular expression {{^[a-zA-Z0-9/-_]+$}}. The names 
> of other configured objects can be unrestricted. 
> Alternatively, we can add some sort of AMQP compatibility modes to Web 
> Management Console and management API when required level compatibility can 
> be configured by the user and different validation rules can apply based on 
> required compatibility.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Updated] (QPID-8165) [Broker-J][WMC] Validation of configured object names is too restrictive in Web Management Console

2018-04-13 Thread Alex Rudyy (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-8165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alex Rudyy updated QPID-8165:
-
Description: 
WMC only allows to create (or edit) configured object with names consisting 
only from any mixture of digits, letters, and underscores. This restriction was 
added into Web Management Console to meet the requirements of AMQP 0-8 
protocol. The queue and exchange names in  domain definition are defined as  
name consisting only from digits, letters, and underscores.

{quote}
The queue name identifies the queue within the vhost.  Queue
names may consist of any mixture of digits, letters, and
underscores.
{quote}

{quote}
The exchange name is a client-selected string that identifies
  the exchange for publish methods.  Exchange names may consist
  of any mixture of digits, letters, and underscores.  Exchange
  names are scoped by the virtual host.
{quote}

However, in definitions of declare commands for queue and exchange  the AMQP 
0-8 specifies a regular expression for the names allowing more characters:
{code}
^[a-zA-Z0-9-_.:]*$
{code}
The same regular expression is defined in specifications for AMQP 0-9 and 0-9-1.

The names of virtual hosts in specifications for AMQP 0-8 and AMQP 0-9 should 
match regular expression (as per documentation of connection open)
{code}
^[a-zA-Z0-9-_.:]*$
{code}

AMQP 0-10 allows more characters in queue name

{quote}
 Queue names must have a length
of between 1 and 255 characters inclusive, must start with a digit, 
letter or underscores
('_') character, and must be otherwise encoded in UTF-8.
{quote}

As a minimum, the Web Management Console should allow creation of queues, 
exchanges with names matching {{^[a-zA-Z0-9-_.:]*$}}, the virtual host names 
can be allowed matching regular expression {{^[a-zA-Z0-9/-_]+$}}. The names of 
other configured objects can be unrestricted. 

Alternatively, we can add some sort of AMQP compatibility modes to Web 
Management Console and management API when required level compatibility can be 
configured by the user and different validation rules can apply based on 
required compatibility.



  was:
WMC only allows to create (or edit) configured object with names consisting 
only from any mixture of digits, letters, and underscores. This restriction was 
added into Web Management Console to meet the requirements of AMQP 0-8 
protocol. The queue and exchange names in  domain definition are defined as  
name consisting only from digits, letters, and underscores.

{quote}
The queue name identifies the queue within the vhost.  Queue
names may consist of any mixture of digits, letters, and
underscores.
{quote}

{quote}
The exchange name is a client-selected string that identifies
  the exchange for publish methods.  Exchange names may consist
  of any mixture of digits, letters, and underscores.  Exchange
  names are scoped by the virtual host.
{quote}

However, in definitions of declare commands for queue and exchange  the AMQP 
0-8 specifies a regular expression for the names allowing more characters:
{code}
^[a-zA-Z0-9-_.:]*$
{code}
The same regular expression is defined in specifications for AMQP 0-9 and 0-9-1.

AMQP 0-10 allows more characters in queue name

{quote}
 Queue names must have a length
of between 1 and 255 characters inclusive, must start with a digit, 
letter or underscores
('_') character, and must be otherwise encoded in UTF-8.
{quote}





> [Broker-J][WMC] Validation of configured object names is too restrictive in 
> Web Management Console
> --
>
> Key: QPID-8165
> URL: https://issues.apache.org/jira/browse/QPID-8165
> Project: Qpid
>  Issue Type: Bug
>  Components: Broker-J
>Reporter: Alex Rudyy
>Priority: Major
>
> WMC only allows to create (or edit) configured object with names consisting 
> only from any mixture of digits, letters, and underscores. This restriction 
> was added into Web Management Console to meet the requirements of AMQP 0-8 
> protocol. The queue and exchange names in  domain definition are defined as  
> name consisting only from digits, letters, and underscores.
> {quote}
> The queue name identifies the queue within the vhost.  Queue
> names may consist of any mixture of digits, letters, and
> underscores.
> {quote}
> {quote}
> The exchange name is a client-selected string that identifies
>   the exchange for publish methods.  Exchange names may consist
>   of any mixture of digits, letters, and underscores.  Exchange
>   names are scoped by the virtual host.
> {quote}
> However, in definitions of declare commands for queue and exchange  the AMQP 
> 0-8 specifies a regular expression for the names allowing more characters:
> {code}