ARTEMIS-3106 - remove sha-1 references from the test

This commit is contained in:
gtully 2021-04-09 14:52:55 +01:00
parent 565d921a07
commit 9c9f89f1d5
2 changed files with 1 additions and 3 deletions

View File

@ -69,7 +69,6 @@ public class SaslScramTest extends ActiveMQTestBase {
*/
@Test
public void testUnencryptedWorksWithAllMechanism() throws JMSException {
sendRcv("SCRAM-SHA-1", "hello", "ogre1234");
sendRcv("SCRAM-SHA-256", "hello", "ogre1234");
}
@ -79,7 +78,6 @@ public class SaslScramTest extends ActiveMQTestBase {
*/
@Test
public void testEncryptedWorksWithAllMechanism() throws JMSException {
sendRcv("SCRAM-SHA-1", "multi", "worksforall");
sendRcv("SCRAM-SHA-256", "multi", "worksforall");
}

View File

@ -28,7 +28,7 @@ under the License.
<security-enabled>true</security-enabled>
<acceptors>
<acceptor name="amqp">tcp://localhost:5672?protocols=AMQP;saslMechanisms=SCRAM-SHA-256,SCRAM-SHA-1;saslLoginConfigScope=amqp-sasl-scram
<acceptor name="amqp">tcp://localhost:5672?protocols=AMQP;saslMechanisms=SCRAM-SHA-256;saslLoginConfigScope=amqp-sasl-scram
</acceptor>
</acceptors>
<security-settings>