use of org.apache.activemq.command.ActiveMQQueue in project activemq-artemis by apache.
the class SecurityTestSupport method initCombosForTestUserReceiveSucceeds.
/**
* @see {@link CombinationTestSupport}
*/
public void initCombosForTestUserReceiveSucceeds() {
addCombinationValues("userName", new Object[] { "user" });
addCombinationValues("password", new Object[] { "password" });
addCombinationValues("destination", new Object[] { new ActiveMQQueue("USERS.FOO"), new ActiveMQTopic("USERS.FOO") });
}
use of org.apache.activemq.command.ActiveMQQueue in project activemq-artemis by apache.
the class SecurityTestSupport method initCombosForTestGuestReceiveSucceeds.
/**
* @see {@link CombinationTestSupport}
*/
public void initCombosForTestGuestReceiveSucceeds() {
addCombinationValues("userName", new Object[] { "guest" });
addCombinationValues("password", new Object[] { "password" });
addCombinationValues("destination", new Object[] { new ActiveMQQueue("GUEST.BAR"), new ActiveMQTopic("GUEST.BAR") });
}
use of org.apache.activemq.command.ActiveMQQueue in project activemq-artemis by apache.
the class SimpleAuthenticationPluginSeparatorTest method initCombosForTestUserSendFails.
/**
* @see {@link org.apache.activemq.CombinationTestSupport}
*/
@Override
public void initCombosForTestUserSendFails() {
addCombinationValues("userName", new Object[] { "user" });
addCombinationValues("password", new Object[] { "password" });
addCombinationValues("destination", new Object[] { new ActiveMQQueue("TEST"), new ActiveMQTopic("TEST") });
}
use of org.apache.activemq.command.ActiveMQQueue in project activemq-artemis by apache.
the class SimpleAuthenticationPluginSeparatorTest method initCombosForTestUserReceiveSucceeds.
/**
* @see {@link CombinationTestSupport}
*/
@Override
public void initCombosForTestUserReceiveSucceeds() {
addCombinationValues("userName", new Object[] { "user" });
addCombinationValues("password", new Object[] { "password" });
addCombinationValues("destination", new Object[] { new ActiveMQQueue("USERS/FOO"), new ActiveMQTopic("USERS/FOO") });
}
use of org.apache.activemq.command.ActiveMQQueue in project activemq-artemis by apache.
the class SimpleAuthenticationPluginSeparatorTest method initCombosForTestUserReceiveFails.
/**
* @see {@link CombinationTestSupport}
*/
@Override
public void initCombosForTestUserReceiveFails() {
addCombinationValues("userName", new Object[] { "user" });
addCombinationValues("password", new Object[] { "password" });
addCombinationValues("destination", new Object[] { new ActiveMQQueue("TEST"), new ActiveMQTopic("TEST"), new ActiveMQQueue("GUEST/BAR"), new ActiveMQTopic("GUEST/BAR") });
}
Aggregations