https://issues.apache.org/jira/browse/AMQ-5943 - rename resources so that they don't match the surefire *Test* filter which will try to execute them as tests

This commit is contained in:
gtully 2015-08-27 11:09:20 +01:00
parent 547476d1bc
commit 1ea289736b
6 changed files with 6 additions and 6 deletions

View File

@ -50,7 +50,7 @@ import org.slf4j.LoggerFactory;
* - ssl-domain-JaasDualAuthenticationNetworkBridgeTest.properties
*/
public class JaasDualAuthenticationNetworkBridgeTest {
protected final static String CONFIG_FILE="org/apache/activemq/security/JaasDualAuthenticationNetworkBridgeTest.xml";
protected final static String CONFIG_FILE="org/apache/activemq/security/JaasDualAuthenticationNetworkBridge.xml";
protected static Logger LOG = LoggerFactory.getLogger(JaasDualAuthenticationNetworkBridgeTest.class);
private BrokerService broker1 = null;
private BrokerService broker2 = null;
@ -62,7 +62,7 @@ public class JaasDualAuthenticationNetworkBridgeTest {
public void setUp() throws Exception {
LOG.info("Starting up");
String path = null;
URL resource = JaasDualAuthenticationNetworkBridgeTest.class.getClassLoader().getResource("login-JaasDualAuthenticationNetworkBridgeTest.config");
URL resource = JaasDualAuthenticationNetworkBridgeTest.class.getClassLoader().getResource("login-JaasDualAuthenticationNetworkBridge.config");
if (resource != null) {
path = resource.getFile();
System.setProperty("java.security.auth.login.config", path);

View File

@ -20,13 +20,13 @@ activemq-domain {
org.apache.activemq.jaas.PropertiesLoginModule requisite
debug=true
org.apache.activemq.jaas.properties.user="users-JaasDualAuthenticationNetworkBridgeTest.properties"
org.apache.activemq.jaas.properties.group="groups-JaasDualAuthenticationNetworkBridgeTest.properties";
org.apache.activemq.jaas.properties.user="users-JaasDualAuthenticationNetworkBridge.properties"
org.apache.activemq.jaas.properties.group="groups-JaasDualAuthenticationNetworkBridge.properties";
};
activemq-ssl-domain {
org.apache.activemq.jaas.TextFileCertificateLoginModule required
debug=true
org.apache.activemq.jaas.textfiledn.user="ssl-domain-JaasDualAuthenticationNetworkBridgeTest.properties"
org.apache.activemq.jaas.textfiledn.group="groups-JaasDualAuthenticationNetworkBridgeTest.properties";
org.apache.activemq.jaas.textfiledn.user="ssl-domain-JaasDualAuthenticationNetworkBridge.properties"
org.apache.activemq.jaas.textfiledn.group="groups-JaasDualAuthenticationNetworkBridge.properties";
};