[JBoss JIRA] (ELY-1150) Revisit branches in handleOne method in ServerAuthenticationContext.createCallbackHandler()
by Ondrej Lukas (JIRA)
Ondrej Lukas created ELY-1150:
---------------------------------
Summary: Revisit branches in handleOne method in ServerAuthenticationContext.createCallbackHandler()
Key: ELY-1150
URL: https://issues.jboss.org/browse/ELY-1150
Project: WildFly Elytron
Issue Type: Bug
Reporter: Ondrej Lukas
Assignee: Darran Lofthouse
Three branches (for EvidenceVerifyCallback, MechanismInformationCallback, CredentialUpdateCallback) in {{handleOne}} method of CallbackHandler created in {{ServerAuthenticationContext.createCallbackHandler()}} do not call {{handleOne(callbacks, idx + 1);}}, which means that another callbacks in array are not processed then. In case it is expected then some assertion that no another callback is obtained in {{callbacks}} array should be added.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 2 months
[JBoss JIRA] (ELY-1150) Revisit branches in handleOne method in ServerAuthenticationContext.createCallbackHandler()
by Ondrej Lukas (JIRA)
[ https://issues.jboss.org/browse/ELY-1150?page=com.atlassian.jira.plugin.s... ]
Ondrej Lukas updated ELY-1150:
------------------------------
Affects Version/s: 1.1.0.Beta38
> Revisit branches in handleOne method in ServerAuthenticationContext.createCallbackHandler()
> -------------------------------------------------------------------------------------------
>
> Key: ELY-1150
> URL: https://issues.jboss.org/browse/ELY-1150
> Project: WildFly Elytron
> Issue Type: Bug
> Affects Versions: 1.1.0.Beta38
> Reporter: Ondrej Lukas
> Assignee: Darran Lofthouse
>
> Three branches (for EvidenceVerifyCallback, MechanismInformationCallback, CredentialUpdateCallback) in {{handleOne}} method of CallbackHandler created in {{ServerAuthenticationContext.createCallbackHandler()}} do not call {{handleOne(callbacks, idx + 1);}}, which means that another callbacks in array are not processed then. In case it is expected then some assertion that no another callback is obtained in {{callbacks}} array should be added.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 2 months
[JBoss JIRA] (ELY-1122) WildFly Elytron Tool, Vault Command --bulk-convert ignore --summary option.
by Ilia Vassilev (JIRA)
[ https://issues.jboss.org/browse/ELY-1122?page=com.atlassian.jira.plugin.s... ]
Ilia Vassilev reassigned ELY-1122:
----------------------------------
Assignee: Ilia Vassilev (was: Darran Lofthouse)
> WildFly Elytron Tool, Vault Command --bulk-convert ignore --summary option.
> ---------------------------------------------------------------------------
>
> Key: ELY-1122
> URL: https://issues.jboss.org/browse/ELY-1122
> Project: WildFly Elytron
> Issue Type: Bug
> Components: Credential Store
> Reporter: Hynek Švábek
> Assignee: Ilia Vassilev
>
> Vault Command --bulk-convert ignore --summary option.
> There is expected to get one CLI command for each converted credential store.
> *How to reproduce*
> download all attachments to same location as *wildfly-elytron-tool.jar* or update locations in *bulk-vault-conversion-desc* file and then run.
> {code}
> java -jar wildfly-elytron-tool.jar vault --bulk-convert bulk-vault-conversion-desc --summary
> Vault (enc-dir="./";keystore="server.store") converted to credential store "converted.jceks"
> Vault (enc-dir="./";keystore="server.store") converted to credential store "converted2.jceks"
> {code}
> You don't see any summary with CLI commands for each converted credential store.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 2 months
[JBoss JIRA] (WFLY-8751) Intermittent fail - MDB20TopicTestCase testEjb20TopicMDBs
by Miroslav Novak (JIRA)
[ https://issues.jboss.org/browse/WFLY-8751?page=com.atlassian.jira.plugin.... ]
Miroslav Novak updated WFLY-8751:
---------------------------------
Description:
There are intermittent failures of MDB20TopicTestCase#testEjb20TopicMDBs. It's very very rare and I cannot not reproduce it locally. Only in Jenkins CI environment.
Test randomly fails on:
{code}
public void testEjb20TopicMDBs() {
sendTextMessage("Say hello to the topic", topic);
final Message replyA = receiveMessage(replyQueueA, TimeoutUtil.adjust(5000));
Assert.assertNotNull("Reply message was null on reply queue: " + replyQueueA, replyA);
final Message replyB = receiveMessage(replyQueueB, TimeoutUtil.adjust(5000));
Assert.assertNotNull("Reply message was null on reply queue: " + replyQueueB, replyB); <--- here is the failure
}
{code}
Test is failling on:
{code}
&#27;[0m&#27;[31m15:12:58,493 SEVERE [org.jboss.arquillian.protocol.jmx.JMXTestRunner] (pool-2-thread-1) Failed: org.jboss.as.test.integration.ejb.mdb.ejb2x.MDB20TopicTestCase.testEjb20TopicMDBs: java.lang.AssertionError: Reply message was null on reply queue: ActiveMQQueue[ejb2x/replyQueueB]
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.junit.Assert.assertNotNull(Assert.java:712)
at org.jboss.as.test.integration.ejb.mdb.ejb2x.MDB20TopicTestCase.testEjb20TopicMDBs(MDB20TopicTestCase.java:121)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
{code}
was:
There are intermittent failures of MDB20TopicTestCase#testEjb20TopicMDBs. It's very very rare and I cannot not reproduce it locally. Only in Jenkins CI environment.
Test randomly fails on:
{code}
public void testEjb20TopicMDBs() {
sendTextMessage("Say hello to the topic", topic);
final Message replyA = receiveMessage(replyQueueA, TimeoutUtil.adjust(5000));
Assert.assertNotNull("Reply message was null on reply queue: " + replyQueueA, replyA);
final Message replyB = receiveMessage(replyQueueB, TimeoutUtil.adjust(5000));
Assert.assertNotNull("Reply message was null on reply queue: " + replyQueueB, replyB); <--- here is the failure
}
{code}
> Intermittent fail - MDB20TopicTestCase testEjb20TopicMDBs
> ----------------------------------------------------------
>
> Key: WFLY-8751
> URL: https://issues.jboss.org/browse/WFLY-8751
> Project: WildFly
> Issue Type: Bug
> Components: JMS
> Affects Versions: 11.0.0.Alpha1
> Reporter: Miroslav Novak
> Assignee: Miroslav Novak
>
> There are intermittent failures of MDB20TopicTestCase#testEjb20TopicMDBs. It's very very rare and I cannot not reproduce it locally. Only in Jenkins CI environment.
> Test randomly fails on:
> {code}
> public void testEjb20TopicMDBs() {
> sendTextMessage("Say hello to the topic", topic);
> final Message replyA = receiveMessage(replyQueueA, TimeoutUtil.adjust(5000));
> Assert.assertNotNull("Reply message was null on reply queue: " + replyQueueA, replyA);
> final Message replyB = receiveMessage(replyQueueB, TimeoutUtil.adjust(5000));
> Assert.assertNotNull("Reply message was null on reply queue: " + replyQueueB, replyB); <--- here is the failure
> }
> {code}
> Test is failling on:
> {code}
> &#27;[0m&#27;[31m15:12:58,493 SEVERE [org.jboss.arquillian.protocol.jmx.JMXTestRunner] (pool-2-thread-1) Failed: org.jboss.as.test.integration.ejb.mdb.ejb2x.MDB20TopicTestCase.testEjb20TopicMDBs: java.lang.AssertionError: Reply message was null on reply queue: ActiveMQQueue[ejb2x/replyQueueB]
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.assertTrue(Assert.java:41)
> at org.junit.Assert.assertNotNull(Assert.java:712)
> at org.jboss.as.test.integration.ejb.mdb.ejb2x.MDB20TopicTestCase.testEjb20TopicMDBs(MDB20TopicTestCase.java:121)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 2 months
[JBoss JIRA] (WFLY-8751) Intermittent fail - MDB20TopicTestCase testEjb20TopicMDBs
by Miroslav Novak (JIRA)
[ https://issues.jboss.org/browse/WFLY-8751?page=com.atlassian.jira.plugin.... ]
Miroslav Novak commented on WFLY-8751:
--------------------------------------
There seems to be timing issue in the test. Message are send before MDB managed to create subscription on topic so message just get dropped.
> Intermittent fail - MDB20TopicTestCase testEjb20TopicMDBs
> ----------------------------------------------------------
>
> Key: WFLY-8751
> URL: https://issues.jboss.org/browse/WFLY-8751
> Project: WildFly
> Issue Type: Bug
> Components: JMS
> Affects Versions: 11.0.0.Alpha1
> Reporter: Miroslav Novak
> Assignee: Miroslav Novak
>
> There are intermittent failures of MDB20TopicTestCase#testEjb20TopicMDBs. It's very very rare and I cannot not reproduce it locally. Only in Jenkins CI environment.
> Test randomly fails on:
> {code}
> public void testEjb20TopicMDBs() {
> sendTextMessage("Say hello to the topic", topic);
> final Message replyA = receiveMessage(replyQueueA, TimeoutUtil.adjust(5000));
> Assert.assertNotNull("Reply message was null on reply queue: " + replyQueueA, replyA);
> final Message replyB = receiveMessage(replyQueueB, TimeoutUtil.adjust(5000));
> Assert.assertNotNull("Reply message was null on reply queue: " + replyQueueB, replyB); <--- here is the failure
> }
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 2 months
[JBoss JIRA] (WFLY-8751) Intermittent fail - MDB20TopicTestCase testEjb20TopicMDBs
by Miroslav Novak (JIRA)
[ https://issues.jboss.org/browse/WFLY-8751?page=com.atlassian.jira.plugin.... ]
Miroslav Novak updated WFLY-8751:
---------------------------------
Description:
There are intermittent failures of MDB20TopicTestCase#testEjb20TopicMDBs. It's very very rare and I cannot not reproduce it locally. Only in Jenkins CI environment.
Test randomly fails on:
{code}
public void testEjb20TopicMDBs() {
sendTextMessage("Say hello to the topic", topic);
final Message replyA = receiveMessage(replyQueueA, TimeoutUtil.adjust(5000));
Assert.assertNotNull("Reply message was null on reply queue: " + replyQueueA, replyA);
final Message replyB = receiveMessage(replyQueueB, TimeoutUtil.adjust(5000));
Assert.assertNotNull("Reply message was null on reply queue: " + replyQueueB, replyB); <--- here is the failure
}
{code}
was:
There are intermittent failures of MDB20TopicTestCase#testEjb20TopicMDBs. It's very very rare and I cannot not reproduce it locally. Only in Jenkins CI environment.
Test randomly fails on:
{code}
public void testEjb20TopicMDBs() {
sendTextMessage("Say hello to the topic", topic);
final Message replyA = receiveMessage(replyQueueA, TimeoutUtil.adjust(5000));
Assert.assertNotNull("Reply message was null on reply queue: " + replyQueueA, replyA); <--- here is the failure
final Message replyB = receiveMessage(replyQueueB, TimeoutUtil.adjust(5000));
Assert.assertNotNull("Reply message was null on reply queue: " + replyQueueB, replyB);
}
{code}
> Intermittent fail - MDB20TopicTestCase testEjb20TopicMDBs
> ----------------------------------------------------------
>
> Key: WFLY-8751
> URL: https://issues.jboss.org/browse/WFLY-8751
> Project: WildFly
> Issue Type: Bug
> Components: JMS
> Affects Versions: 11.0.0.Alpha1
> Reporter: Miroslav Novak
> Assignee: Miroslav Novak
>
> There are intermittent failures of MDB20TopicTestCase#testEjb20TopicMDBs. It's very very rare and I cannot not reproduce it locally. Only in Jenkins CI environment.
> Test randomly fails on:
> {code}
> public void testEjb20TopicMDBs() {
> sendTextMessage("Say hello to the topic", topic);
> final Message replyA = receiveMessage(replyQueueA, TimeoutUtil.adjust(5000));
> Assert.assertNotNull("Reply message was null on reply queue: " + replyQueueA, replyA);
> final Message replyB = receiveMessage(replyQueueB, TimeoutUtil.adjust(5000));
> Assert.assertNotNull("Reply message was null on reply queue: " + replyQueueB, replyB); <--- here is the failure
> }
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 2 months
[JBoss JIRA] (WFLY-8751) Intermittent fail - MDB20TopicTestCase testEjb20TopicMDBs
by Miroslav Novak (JIRA)
[ https://issues.jboss.org/browse/WFLY-8751?page=com.atlassian.jira.plugin.... ]
Miroslav Novak updated WFLY-8751:
---------------------------------
Component/s: JMS
(was: JMX)
> Intermittent fail - MDB20TopicTestCase testEjb20TopicMDBs
> ----------------------------------------------------------
>
> Key: WFLY-8751
> URL: https://issues.jboss.org/browse/WFLY-8751
> Project: WildFly
> Issue Type: Bug
> Components: JMS
> Affects Versions: 11.0.0.Alpha1
> Reporter: Miroslav Novak
> Assignee: Miroslav Novak
>
> There are intermittent failures of MDB20TopicTestCase#testEjb20TopicMDBs. It's very very rare and I cannot not reproduce it locally. Only in Jenkins CI environment.
> Test randomly fails on:
> {code}
> public void testEjb20TopicMDBs() {
> sendTextMessage("Say hello to the topic", topic);
> final Message replyA = receiveMessage(replyQueueA, TimeoutUtil.adjust(5000));
> Assert.assertNotNull("Reply message was null on reply queue: " + replyQueueA, replyA); <--- here is the failure
> final Message replyB = receiveMessage(replyQueueB, TimeoutUtil.adjust(5000));
> Assert.assertNotNull("Reply message was null on reply queue: " + replyQueueB, replyB);
> }
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 2 months
[JBoss JIRA] (WFLY-8751) Intermittent fail - MDB20TopicTestCase testEjb20TopicMDBs
by Miroslav Novak (JIRA)
[ https://issues.jboss.org/browse/WFLY-8751?page=com.atlassian.jira.plugin.... ]
Miroslav Novak reassigned WFLY-8751:
------------------------------------
Assignee: Miroslav Novak (was: Kabir Khan)
> Intermittent fail - MDB20TopicTestCase testEjb20TopicMDBs
> ----------------------------------------------------------
>
> Key: WFLY-8751
> URL: https://issues.jboss.org/browse/WFLY-8751
> Project: WildFly
> Issue Type: Bug
> Components: JMX
> Affects Versions: 11.0.0.Alpha1
> Reporter: Miroslav Novak
> Assignee: Miroslav Novak
>
> There are intermittent failures of MDB20TopicTestCase#testEjb20TopicMDBs. It's very very rare and I cannot not reproduce it locally. Only in Jenkins CI environment.
> Test randomly fails on:
> {code}
> public void testEjb20TopicMDBs() {
> sendTextMessage("Say hello to the topic", topic);
> final Message replyA = receiveMessage(replyQueueA, TimeoutUtil.adjust(5000));
> Assert.assertNotNull("Reply message was null on reply queue: " + replyQueueA, replyA); <--- here is the failure
> final Message replyB = receiveMessage(replyQueueB, TimeoutUtil.adjust(5000));
> Assert.assertNotNull("Reply message was null on reply queue: " + replyQueueB, replyB);
> }
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 2 months
[JBoss JIRA] (WFLY-8751) Intermittent fail - MDB20TopicTestCase testEjb20TopicMDBs
by Miroslav Novak (JIRA)
Miroslav Novak created WFLY-8751:
------------------------------------
Summary: Intermittent fail - MDB20TopicTestCase testEjb20TopicMDBs
Key: WFLY-8751
URL: https://issues.jboss.org/browse/WFLY-8751
Project: WildFly
Issue Type: Bug
Components: JMX
Affects Versions: 11.0.0.Alpha1
Reporter: Miroslav Novak
Assignee: Kabir Khan
There are intermittent failures of MDB20TopicTestCase#testEjb20TopicMDBs. It's very very rare and I cannot not reproduce it locally. Only in Jenkins CI environment.
Test randomly fails on:
{code}
public void testEjb20TopicMDBs() {
sendTextMessage("Say hello to the topic", topic);
final Message replyA = receiveMessage(replyQueueA, TimeoutUtil.adjust(5000));
Assert.assertNotNull("Reply message was null on reply queue: " + replyQueueA, replyA); <--- here is the failure
final Message replyB = receiveMessage(replyQueueB, TimeoutUtil.adjust(5000));
Assert.assertNotNull("Reply message was null on reply queue: " + replyQueueB, replyB);
}
{code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 2 months
[JBoss JIRA] (WFLY-8750) RBAC, Security subsystem contains attributes with capabilities which don't set access-constraint.
by Hynek Švábek (JIRA)
Hynek Švábek created WFLY-8750:
----------------------------------
Summary: RBAC, Security subsystem contains attributes with capabilities which don't set access-constraint.
Key: WFLY-8750
URL: https://issues.jboss.org/browse/WFLY-8750
Project: WildFly
Issue Type: Bug
Components: Security
Reporter: Hynek Švábek
Assignee: Darran Lofthouse
Priority: Blocker
This is potentially security vulnerability therefore it is BLOCKER.
Security subsystem contains attributes with capabilities which don't set access-constraint.
All of them has Elytron compatibility capability and I expect there some access constraint too.
*How to reproduce:*
{code}
/subsystem=security:read-resource-description(recursive=true)
{code}
There are some places where missing access constraints.
elytron-key-store with *org.wildfly.security.key-store* capability.
elytron-realm with *org.wildfly.security.security-realm* capability.
elytron-trust-manager with *org.wildfly.security.trust-managers* capability.
elytron-key-manager with *org.wildfly.security.key-managers* capability.
elytron-trust-store with *org.wildfly.security.key-store* capability.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 2 months