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

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

Reply via email to