ARTEMIS-3106 - remove sha-1 references from the test
This commit is contained in:
parent
565d921a07
commit
9c9f89f1d5
|
@ -69,7 +69,6 @@ public class SaslScramTest extends ActiveMQTestBase {
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
public void testUnencryptedWorksWithAllMechanism() throws JMSException {
|
public void testUnencryptedWorksWithAllMechanism() throws JMSException {
|
||||||
sendRcv("SCRAM-SHA-1", "hello", "ogre1234");
|
|
||||||
sendRcv("SCRAM-SHA-256", "hello", "ogre1234");
|
sendRcv("SCRAM-SHA-256", "hello", "ogre1234");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -79,7 +78,6 @@ public class SaslScramTest extends ActiveMQTestBase {
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
public void testEncryptedWorksWithAllMechanism() throws JMSException {
|
public void testEncryptedWorksWithAllMechanism() throws JMSException {
|
||||||
sendRcv("SCRAM-SHA-1", "multi", "worksforall");
|
|
||||||
sendRcv("SCRAM-SHA-256", "multi", "worksforall");
|
sendRcv("SCRAM-SHA-256", "multi", "worksforall");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ under the License.
|
||||||
<security-enabled>true</security-enabled>
|
<security-enabled>true</security-enabled>
|
||||||
|
|
||||||
<acceptors>
|
<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>
|
</acceptor>
|
||||||
</acceptors>
|
</acceptors>
|
||||||
<security-settings>
|
<security-settings>
|
||||||
|
|
Loading…
Reference in New Issue