[JBoss JIRA] (WFLY-6936) RebindTestCase fails with security manager
by Ingo Weiss (JIRA)
[ https://issues.jboss.org/browse/WFLY-6936?page=com.atlassian.jira.plugin.... ]
Ingo Weiss updated WFLY-6936:
-----------------------------
Git Pull Request: https://github.com/wildfly-security/wildfly-elytron/pull/598, https://github.com/wildfly/wildfly-core/pull/2010, https://github.com/wildfly/wildfly/pull/9460 (was: https://github.com/wildfly-security/wildfly-elytron/pull/598, https://github.com/wildfly/wildfly-core/pull/2010)
> RebindTestCase fails with security manager
> ------------------------------------------
>
> Key: WFLY-6936
> URL: https://issues.jboss.org/browse/WFLY-6936
> Project: WildFly
> Issue Type: Bug
> Components: Test Suite
> Reporter: Jan Tymel
> Assignee: Ingo Weiss
> Fix For: 11.0.0.Alpha1
>
>
> *org.jboss.as.test.integration.naming.RebindTestCase#testRebinding*
> *org.jboss.as.test.integration.naming.RebindTestCase#testRebindingLookup*
> *org.jboss.as.test.integration.naming.RebindTestCase#testRebindingObjectFactory*
> {{./integration-tests.sh -DtestLogToFile=false -Dts.noSmoke -Dts.basic -Dtest=org.jboss.as.test.integration.naming.RebindTestCase#testRebinding -Dsecurity.manager}}
> Fails with:
> {code}
> Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("org.jboss.remoting3.security.RemotingPermission" "createEndpoint")" in code source "(vfs:/content/RebindTestCase.jar <no signer certificates>)" of "null")
> at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:273)
> at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:175)
> at org.jboss.remoting3.Remoting.createEndpoint(Remoting.java:85)
> at org.jboss.remoting3.Remoting.createEndpoint(Remoting.java:112)
> at org.jboss.as.controller.client.impl.RemotingModelControllerClient.getOrCreateChannel(RemotingModelControllerClient.java:120)
> at org.jboss.as.controller.client.impl.RemotingModelControllerClient$1.getChannel(RemotingModelControllerClient.java:64)
> at org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:139)
> at org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:114)
> at org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeRequest(AbstractModelControllerClient.java:263)
> at org.jboss.as.controller.client.impl.AbstractModelControllerClient.execute(AbstractModelControllerClient.java:168)
> at org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeForResult(AbstractModelControllerClient.java:147)
> ... 145 more
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 6 months
[JBoss JIRA] (WFLY-6936) RebindTestCase fails with security manager
by Ingo Weiss (JIRA)
[ https://issues.jboss.org/browse/WFLY-6936?page=com.atlassian.jira.plugin.... ]
Ingo Weiss updated WFLY-6936:
-----------------------------
Git Pull Request: https://github.com/wildfly-security/wildfly-elytron/pull/598, https://github.com/wildfly/wildfly-core/pull/2010 (was: https://github.com/wildfly-security/wildfly-elytron/pull/598)
> RebindTestCase fails with security manager
> ------------------------------------------
>
> Key: WFLY-6936
> URL: https://issues.jboss.org/browse/WFLY-6936
> Project: WildFly
> Issue Type: Bug
> Components: Test Suite
> Reporter: Jan Tymel
> Assignee: Ingo Weiss
> Fix For: 11.0.0.Alpha1
>
>
> *org.jboss.as.test.integration.naming.RebindTestCase#testRebinding*
> *org.jboss.as.test.integration.naming.RebindTestCase#testRebindingLookup*
> *org.jboss.as.test.integration.naming.RebindTestCase#testRebindingObjectFactory*
> {{./integration-tests.sh -DtestLogToFile=false -Dts.noSmoke -Dts.basic -Dtest=org.jboss.as.test.integration.naming.RebindTestCase#testRebinding -Dsecurity.manager}}
> Fails with:
> {code}
> Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("org.jboss.remoting3.security.RemotingPermission" "createEndpoint")" in code source "(vfs:/content/RebindTestCase.jar <no signer certificates>)" of "null")
> at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:273)
> at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:175)
> at org.jboss.remoting3.Remoting.createEndpoint(Remoting.java:85)
> at org.jboss.remoting3.Remoting.createEndpoint(Remoting.java:112)
> at org.jboss.as.controller.client.impl.RemotingModelControllerClient.getOrCreateChannel(RemotingModelControllerClient.java:120)
> at org.jboss.as.controller.client.impl.RemotingModelControllerClient$1.getChannel(RemotingModelControllerClient.java:64)
> at org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:139)
> at org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:114)
> at org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeRequest(AbstractModelControllerClient.java:263)
> at org.jboss.as.controller.client.impl.AbstractModelControllerClient.execute(AbstractModelControllerClient.java:168)
> at org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeForResult(AbstractModelControllerClient.java:147)
> ... 145 more
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 6 months
[JBoss JIRA] (WFCORE-2091) Mixed domain with EAP 6 slaves: data sources operations broken
by Lin Gao (JIRA)
[ https://issues.jboss.org/browse/WFCORE-2091?page=com.atlassian.jira.plugi... ]
Lin Gao moved JBEAP-7739 to WFCORE-2091:
----------------------------------------
Project: WildFly Core (was: JBoss Enterprise Application Platform)
Key: WFCORE-2091 (was: JBEAP-7739)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: Domain Management
(was: Domain Management)
(was: JCA)
Affects Version/s: (was: 7.1.0.DR9)
> Mixed domain with EAP 6 slaves: data sources operations broken
> --------------------------------------------------------------
>
> Key: WFCORE-2091
> URL: https://issues.jboss.org/browse/WFCORE-2091
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management
> Reporter: Lin Gao
> Assignee: Lin Gao
> Priority: Blocker
>
> Run a mixed domain where EAP 7.1.0.DR9 is the master and EAP 6.4.0/6.3.0/6.2.0 is a slave server. Operations on data sources are broken due to incompatibility of models:
> {noformat}
> [domain@127.0.0.100:9990 /] /host=eap640/server=server-one/subsystem=datasources/data-source=ExampleDS:test-connection-in-pool
> {
> "outcome" => "failed",
> "failure-description" => "WFLYCTL0297: Transforming operation {
> \"address\" => [
> (\"host\" => \"eap640\"),
> (\"server\" => \"server-one\"),
> (\"subsystem\" => \"datasources\"),
> (\"data-source\" => \"ExampleDS\")
> ],
> \"operation\" => \"test-connection-in-pool\",
> \"operation-headers\" => {
> \"caller-type\" => \"user\",
> \"access-mechanism\" => \"NATIVE\",
> \"domain-uuid\" => \"ae186a65-8c76-41d0-bd23-79154b5f92f7\"
> }
> } at resource [
> (\"host\" => \"eap640\"),
> (\"server\" => \"server-one\"),
> (\"subsystem\" => \"datasources\"),
> (\"data-source\" => \"ExampleDS\")
> ] to subsystem 'datasources' model version '1.3.0' -- attributes [connection-url] WFLYCTL0336: The following attributes are nillable in the current model but must be defined in the target model version: [connection-url]",
> "rolled-back" => true,
> "result" => [true]
> }
> {noformat}
> The fix for JBEAP-5770 seems to be the cause.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 6 months
[JBoss JIRA] (WFLY-6936) RebindTestCase fails with security manager
by Ingo Weiss (JIRA)
[ https://issues.jboss.org/browse/WFLY-6936?page=com.atlassian.jira.plugin.... ]
Ingo Weiss updated WFLY-6936:
-----------------------------
Git Pull Request: https://github.com/wildfly-security/wildfly-elytron/pull/598 (was: https://github.com/wildfly/wildfly/pull/9255)
> RebindTestCase fails with security manager
> ------------------------------------------
>
> Key: WFLY-6936
> URL: https://issues.jboss.org/browse/WFLY-6936
> Project: WildFly
> Issue Type: Bug
> Components: Test Suite
> Reporter: Jan Tymel
> Assignee: Ingo Weiss
> Fix For: 11.0.0.Alpha1
>
>
> *org.jboss.as.test.integration.naming.RebindTestCase#testRebinding*
> *org.jboss.as.test.integration.naming.RebindTestCase#testRebindingLookup*
> *org.jboss.as.test.integration.naming.RebindTestCase#testRebindingObjectFactory*
> {{./integration-tests.sh -DtestLogToFile=false -Dts.noSmoke -Dts.basic -Dtest=org.jboss.as.test.integration.naming.RebindTestCase#testRebinding -Dsecurity.manager}}
> Fails with:
> {code}
> Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("org.jboss.remoting3.security.RemotingPermission" "createEndpoint")" in code source "(vfs:/content/RebindTestCase.jar <no signer certificates>)" of "null")
> at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:273)
> at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:175)
> at org.jboss.remoting3.Remoting.createEndpoint(Remoting.java:85)
> at org.jboss.remoting3.Remoting.createEndpoint(Remoting.java:112)
> at org.jboss.as.controller.client.impl.RemotingModelControllerClient.getOrCreateChannel(RemotingModelControllerClient.java:120)
> at org.jboss.as.controller.client.impl.RemotingModelControllerClient$1.getChannel(RemotingModelControllerClient.java:64)
> at org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:139)
> at org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:114)
> at org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeRequest(AbstractModelControllerClient.java:263)
> at org.jboss.as.controller.client.impl.AbstractModelControllerClient.execute(AbstractModelControllerClient.java:168)
> at org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeForResult(AbstractModelControllerClient.java:147)
> ... 145 more
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 6 months
[JBoss JIRA] (WFLY-7751) mod_cluster XML parsers are loaded eagerly
by Radoslav Husar (JIRA)
Radoslav Husar created WFLY-7751:
------------------------------------
Summary: mod_cluster XML parsers are loaded eagerly
Key: WFLY-7751
URL: https://issues.jboss.org/browse/WFLY-7751
Project: WildFly
Issue Type: Bug
Components: mod_cluster
Affects Versions: 10.1.0.Final
Reporter: Radoslav Husar
Assignee: Radoslav Husar
We need to make use of the new API method:
org.jboss.as.controller.parsing.ExtensionParsingContext#setSubsystemXmlMapping(java.lang.String, java.lang.String, java.util.function.Supplier<org.jboss.staxmapper.XMLElementReader<java.util.List<org.jboss.dmr.ModelNode>>>)
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 6 months
[JBoss JIRA] (WFLY-7750) Setting PicketBox or Elytron security domain should be mutually exclusive
by Jeff Mesnil (JIRA)
[ https://issues.jboss.org/browse/WFLY-7750?page=com.atlassian.jira.plugin.... ]
Jeff Mesnil moved JBEAP-7737 to WFLY-7750:
------------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-7750 (was: JBEAP-7737)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: JMS
Security
(was: JMS)
(was: Security)
Affects Version/s: (was: 7.1.0.DR9)
> Setting PicketBox or Elytron security domain should be mutually exclusive
> -------------------------------------------------------------------------
>
> Key: WFLY-7750
> URL: https://issues.jboss.org/browse/WFLY-7750
> Project: WildFly
> Issue Type: Bug
> Components: JMS, Security
> Reporter: Jeff Mesnil
> Assignee: Jeff Mesnil
>
> messaging-activemq subsystem should allow only PicketBox or Elytron security domain to be configured but not both. Artemis should not start with this configuration and also this should be checked in CLI when configuring it.
> Attribute {{security-domain}} should be marked as deprecated as it's setting PicketBox legacy security-domain.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 6 months
[JBoss JIRA] (WFLY-7538) WebSocketTestCase fails with security manager - Reenable the test
by Ivo Studensky (JIRA)
[ https://issues.jboss.org/browse/WFLY-7538?page=com.atlassian.jira.plugin.... ]
Ivo Studensky edited comment on WFLY-7538 at 12/7/16 8:23 AM:
--------------------------------------------------------------
This does not seem to be related to WFCore 3.0.0.Alpha12. It is failing even with WF 10.1.0.Final with WFCore at version 2.2.0.Final. And it fails due to the same issue on EAP 7.0.x too. It even fails on 7.0.0.GA.
The test needs an additional permission {{SocketPermission("localhost:0", "listen,resolve")}}, I would say.
was (Author: istudens):
This does not seem to be related to WFCore 3.0.0.Alpha12. It is failing even with WF 10.1.0.Final with WFCore at version 2.2.0.Final. And it fails due to the same issue on EAP 7.0.x too.
The test needs an additional permission {{SocketPermission("localhost:0", "listen,resolve")}}, I would say.
> WebSocketTestCase fails with security manager - Reenable the test
> -----------------------------------------------------------------
>
> Key: WFLY-7538
> URL: https://issues.jboss.org/browse/WFLY-7538
> Project: WildFly
> Issue Type: Bug
> Components: Security
> Reporter: Kabir Khan
> Assignee: Darran Lofthouse
> Priority: Blocker
>
> Reenable WebSocketsTestCase. See WFLY-7539 for more details
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 6 months
[JBoss JIRA] (WFLY-7749) mod_cluster extension uses deprecated transformer API
by Radoslav Husar (JIRA)
Radoslav Husar created WFLY-7749:
------------------------------------
Summary: mod_cluster extension uses deprecated transformer API
Key: WFLY-7749
URL: https://issues.jboss.org/browse/WFLY-7749
Project: WildFly
Issue Type: Bug
Components: mod_cluster
Affects Versions: 10.1.0.Final
Reporter: Radoslav Husar
Assignee: Radoslav Husar
Fix For: 11.0.0.Alpha1
The deprecated APIs used are org.jboss.as.controller.ExtensionContext#isRegisterTransformers and org.jboss.as.controller.transform.description.TransformationDescription.Tools#register(...).
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 6 months
[JBoss JIRA] (WFLY-7745) mod_cluster extension uses deprecated transformer API
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/WFLY-7745?page=com.atlassian.jira.plugin.... ]
Radoslav Husar updated WFLY-7745:
---------------------------------
Description: The deprecated APIs used are org.jboss.as.controller.ExtensionContext#isRegisterTransformers and org.jboss.as.controller.transform.description.TransformationDescription.Tools#register(...).
> mod_cluster extension uses deprecated transformer API
> -----------------------------------------------------
>
> Key: WFLY-7745
> URL: https://issues.jboss.org/browse/WFLY-7745
> Project: WildFly
> Issue Type: Bug
> Components: mod_cluster
> Affects Versions: 10.1.0.Final
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
> Fix For: 11.0.0.Alpha1
>
>
> The deprecated APIs used are org.jboss.as.controller.ExtensionContext#isRegisterTransformers and org.jboss.as.controller.transform.description.TransformationDescription.Tools#register(...).
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 6 months