[JBoss JIRA] (WFLY-7149) Unable to remove elytron subsystem with defined properties-realm
by Jan Kalina (JIRA)
[ https://issues.jboss.org/browse/WFLY-7149?page=com.atlassian.jira.plugin.... ]
Jan Kalina reassigned WFLY-7149:
--------------------------------
Assignee: Jan Kalina (was: Darran Lofthouse)
> Unable to remove elytron subsystem with defined properties-realm
> ----------------------------------------------------------------
>
> Key: WFLY-7149
> URL: https://issues.jboss.org/browse/WFLY-7149
> Project: WildFly
> Issue Type: Bug
> Components: Security
> Reporter: Radim Hatlapatka
> Assignee: Jan Kalina
> Priority: Critical
>
> When having elytron subsystem with only defined property-realm and calling remove on the subsystem, it fails due unsatisfied dependencies \[1\]. The subsystem is created from scratch with no dependencies outside of the subsystem => it shouldn't fail to remove.
> \[1\]
> {noformat}
> [standalone@localhost:9990 /] /subsystem=elytron:remove
> {
> "outcome" => "failed",
> "failure-description" => "WFLYCTL0171: Removing services has lead to unsatisfied dependencies:
> Service elytron.security-properties was depended upon by service org.wildfly.security.security-realm.elytron-security
> Service elytron.core-service was depended upon by service org.wildfly.security.security-realm.elytron-security",
> "rolled-back" => true
> }
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 7 months
[JBoss JIRA] (ELY-631) Wrong description of missing target-name in simple-permission-mapper
by Ondrej Lukas (JIRA)
Ondrej Lukas created ELY-631:
--------------------------------
Summary: Wrong description of missing target-name in simple-permission-mapper
Key: ELY-631
URL: https://issues.jboss.org/browse/ELY-631
Project: WildFly Elytron
Issue Type: Bug
Reporter: Ondrej Lukas
Assignee: Darran Lofthouse
In case when simple-permission-mapper cannot be added through CLI command due to missing target-name attribute, then IllegalArgumentException with wrong description is thrown. It says: "Parameter '*name*' may not be null". It should be "Parameter '*target-name*' may not be null".
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 7 months
[JBoss JIRA] (WFLY-7162) Elytron filtering-key-store:write-attribute cause NPE
by Jan Kalina (JIRA)
[ https://issues.jboss.org/browse/WFLY-7162?page=com.atlassian.jira.plugin.... ]
Jan Kalina reassigned WFLY-7162:
--------------------------------
Assignee: Jan Kalina (was: Darran Lofthouse)
> Elytron filtering-key-store:write-attribute cause NPE
> -----------------------------------------------------
>
> Key: WFLY-7162
> URL: https://issues.jboss.org/browse/WFLY-7162
> Project: WildFly
> Issue Type: Bug
> Components: Security
> Affects Versions: 11.0.0.Alpha1
> Reporter: Martin Choma
> Assignee: Jan Kalina
> Priority: Critical
>
> Trying to update filtering-key-store cause NPE
> {code}
> [standalone@localhost:9990 /] /subsystem=elytron/filtering-key-store=filteringKeyStore:add(key-store=server, alias-filter=undertow)
> {"outcome" => "success"}
> [standalone@localhost:9990 /] /subsystem=elytron/filtering-key-store=filteringKeyStore:write-attribute(name=alias-filter,value=management)
> {
> "outcome" => "failed",
> "failure-description" => "WFLYCTL0158: Operation handler failed: java.lang.NullPointerException",
> "rolled-back" => true
> }
> {code}
> Stacktrace:
> {code}
> 09:51:45,250 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 10) WFLYCTL0013: Operation ("write-attribute") failed - address: ([
> ("subsystem" => "elytron"),
> ("filtering-key-store" => "filteringKeyStore")
> ]): java.lang.NullPointerException
> at org.wildfly.extension.elytron.FilteringKeyStoreDefinition$WriteAttributeHandler.getParentServiceName(FilteringKeyStoreDefinition.java:174)
> at org.jboss.as.controller.RestartParentWriteAttributeHandler.applyUpdateToRuntime(RestartParentWriteAttributeHandler.java:57)
> at org.jboss.as.controller.AbstractWriteAttributeHandler$1.execute(AbstractWriteAttributeHandler.java:104)
> at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:940)
> at org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:683)
> at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:382)
> at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1363)
> at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:410)
> at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:232)
> at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.doExecute(ModelControllerClientOperationHandler.java:213)
> at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.access$300(ModelControllerClientOperationHandler.java:136)
> at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:157)
> at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:153)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.Subject.doAs(Subject.java:422)
> at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:149)
> at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1.execute(ModelControllerClientOperationHandler.java:153)
> at org.jboss.as.protocol.mgmt.ManagementRequestContextImpl$1.doExecute(ManagementRequestContextImpl.java:70)
> at org.jboss.as.protocol.mgmt.ManagementRequestContextImpl$AsyncTaskRunner.run(ManagementRequestContextImpl.java:160)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> at org.jboss.threads.JBossThread.run(JBossThread.java:320)
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 7 months