[jboss-jira] [JBoss JIRA] (WFLY-9025) It is not possible to add new Elytron policy after adding and removing it first

Jan Kašík (JIRA) issues at jboss.org
Thu Jun 29 05:12:03 EDT 2017


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

Jan Kašík moved JBEAP-11862 to WFLY-9025:
-----------------------------------------

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


> It is not possible to add new Elytron policy after adding and removing it first
> -------------------------------------------------------------------------------
>
>                 Key: WFLY-9025
>                 URL: https://issues.jboss.org/browse/WFLY-9025
>             Project: WildFly
>          Issue Type: Bug
>          Components: Security
>    Affects Versions: 11.0.0.Alpha1
>            Reporter: Jan Kašík
>
> Adding new Elytron policy fails if it was previously added and then removed. Next adding fails [1].
> {code}
> [standalone at localhost:9990 /] /subsystem=elytron/policy=jacc:add(jacc-policy=[{name => jacc}])
> {
>     "outcome" => "failed",
>     "response-headers" => {
>         "operation-requires-reload" => true,
>         "process-state" => "reload-required"
>     },
>     "failure-description" => {"WFLYCTL0080: Failed services" => {"org.wildfly.security.policy" => "Failed to start service
>     Caused by: java.lang.RuntimeException: Failed to set policy [org.wildfly.security.authz.jacc.JaccDelegatingPolicy at 502d9a84]
>     Caused by: java.lang.SecurityException: ELY03018: Cannot add permissions to a read-only permission collection"}},
>     "rolled-back" => true
> }
> {code}



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



More information about the jboss-jira mailing list