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 2021/12/02 14:37:00 UTC

[jira] [Updated] (FELIX-3351) Permissions.createPermission(String name, String action, Class target) Fails for action == null

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

Karl Pauls updated FELIX-3351:
------------------------------
    Fix Version/s: framework.security-2.8.2

> Permissions.createPermission(String name, String action, Class target) Fails for action == null
> -----------------------------------------------------------------------------------------------
>
>                 Key: FELIX-3351
>                 URL: https://issues.apache.org/jira/browse/FELIX-3351
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework Security
>    Affects Versions: framework.security-1.4.1
>            Reporter: Bob Ziuchkovski
>            Assignee: Karl Pauls
>            Priority: Minor
>             Fix For: framework.security-2.8.2
>
>         Attachments: felix_permission_noaction.patch
>
>
> java.security.Permission has a single constructor, Permission(String name).  While many subclasses add another constructor with sig (String name, String actions), this is not a requirement for Permission subclasses and custom permissions without the actions arg are not properly handled by createPermission().



--
This message was sent by Atlassian Jira
(v8.20.1#820001)