felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andie Similon (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FELIX-2922) ArrayIndexOutOfBoundsException when specifying no name
Date Tue, 19 Apr 2011 08:44:05 GMT
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

Mime
View raw message