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

Andie Similon updated FELIX-2922:
---------------------------------

    Description: 
When parsing a encoded string without a name in the constructor of 
ConditionalPermissionInfoImpl you get a ArrayIndexOutOfBoundsException. If I'm 
correct the syntax in the specification is:

policy ::= access '{' conditions permissions'}' name?
access ::= 'ALLOW' | 'DENY' // case insensitive
name ::= quoted-string

doesn't that make the name optional?

  was:
When parsing a encoded string without a name in the constructor of 
ConditionalPermissionInfoImpl you get a ArrayIndexOutOfBoundsException. If I'm 
correct the syntax in the specification is:

policy ::= access '{' conditions permissions'}' name?
access ::= 'ALLOW' | 'DENY' // case insensitive
name ::= quoted-string


> ArrayIndexOutOfBoundsException when specifying no name
> ------------------------------------------------------
>
>                 Key: FELIX-2922
>                 URL: https://issues.apache.org/jira/browse/FELIX-2922
>             Project: Felix
>          Issue Type: Bug
>          Components: Conditional Permission Admin
>    Affects Versions: framework.security-1.4.1
>            Reporter: Andie Similon
>            Priority: Minor
>
> When parsing a encoded string without a name in the constructor of 
> ConditionalPermissionInfoImpl you get a ArrayIndexOutOfBoundsException. If 
> I'm correct the syntax in the specification is:
> policy ::= access '{' conditions permissions'}' name?
> access ::= 'ALLOW' | 'DENY' // case insensitive
> name ::= quoted-string
> doesn't that make the name optional?

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to