[jboss-jira] [JBoss JIRA] (WFLY-7678) Permission added using list-add should be validated before adding to Elytron constant-permission-mapper

Ondrej Kotek (JIRA) issues at jboss.org
Fri Nov 25 07:21:00 EST 2016


     [ https://issues.jboss.org/browse/WFLY-7678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ondrej Kotek moved JBEAP-7512 to WFLY-7678:
-------------------------------------------

              Project: WildFly  (was: JBoss Enterprise Application Platform)
                  Key: WFLY-7678  (was: JBEAP-7512)
             Workflow: GIT Pull Request workflow   (was: CDW with loose statuses v1)
          Component/s: Security
                           (was: Security)
                           (was: User Experience)
    Affects Version/s: 11.0.0.Alpha1
                           (was: 7.1.0.DR8)


> Permission added using list-add should be validated before adding to Elytron constant-permission-mapper
> -------------------------------------------------------------------------------------------------------
>
>                 Key: WFLY-7678
>                 URL: https://issues.jboss.org/browse/WFLY-7678
>             Project: WildFly
>          Issue Type: Bug
>          Components: Security
>    Affects Versions: 11.0.0.Alpha1
>            Reporter: Ondrej Kotek
>            Assignee: Darran Lofthouse
>              Labels: user_experience
>
> Permission object added using {{list-add}} operation should be validated before being added to {{constant-permission-mapper}}.
> The reproducer should behave like
> {noformat}
> [standalone at localhost:9990 /] /subsystem=elytron/constant-permission-mapper=cpm:add(permissions=[{class-name=java.io.FilePermission}])
> {
>     "outcome" => "failed",
>     "failure-description" => {
>         "WFLYCTL0080: Failed services" => {"org.wildfly.security.permission-mapper.cpm" => "org.jboss.msc.service.StartException in service org.wildfly.security.permission-mapper.cpm: WFLYELY00021: Exception while creating the permission object for the permission mapping. Please check [class-name], [target-name] (name of permission) and [action] of [java.io.FilePermission].
>     Caused by: java.lang.IllegalArgumentException: invalid actions mask"},
>         "WFLYCTL0412: Required services that are not installed:" => ["org.wildfly.security.permission-mapper.cpm"],
>         "WFLYCTL0180: Services with missing/unavailable dependencies" => undefined
>     },
>     "rolled-back" => true
> }
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list