You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Karl Pauls (JIRA)" <ji...@apache.org> on 2011/09/12 12:14:09 UTC

[jira] [Resolved] (FELIX-2922) ArrayIndexOutOfBoundsException when specifying no name

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

Karl Pauls resolved FELIX-2922.
-------------------------------

       Resolution: Fixed
    Fix Version/s: framework.security-1.6.0

I commited a fix for this. If you want to test it, you'd need to work with framework and framework.security trunk for now. Please close this issue if it work for you.

> 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
>            Assignee: Karl Pauls
>            Priority: Minor
>             Fix For: framework.security-1.6.0
>
>
> 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