This is an automated email from the ASF dual-hosted git repository. orudyy pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/qpid-broker-j.git
The following commit(s) were added to refs/heads/master by this push: new c4869fc QPID-8363: [Broker-J] Remove properties "java.security.krb5.realm" and "java.security.krb5.kdc" in test and add debug logging c4869fc is described below commit c4869fc09e07ad83f6694668e3005456d2556e15 Author: Alex Rudyy <oru...@apache.org> AuthorDate: Thu Oct 3 20:17:15 2019 +0100 QPID-8363: [Broker-J] Remove properties "java.security.krb5.realm" and "java.security.krb5.kdc" in test and add debug logging --- .../security/auth/manager/SimpleLDAPAuthenticationManagerTest.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/broker-core/src/test/java/org/apache/qpid/server/security/auth/manager/SimpleLDAPAuthenticationManagerTest.java b/broker-core/src/test/java/org/apache/qpid/server/security/auth/manager/SimpleLDAPAuthenticationManagerTest.java index 590f076..6d5c536 100644 --- a/broker-core/src/test/java/org/apache/qpid/server/security/auth/manager/SimpleLDAPAuthenticationManagerTest.java +++ b/broker-core/src/test/java/org/apache/qpid/server/security/auth/manager/SimpleLDAPAuthenticationManagerTest.java @@ -387,8 +387,13 @@ public class SimpleLDAPAuthenticationManagerTest extends UnitTestBase ldapServer.setSaslPrincipal(servicePrincipalName); ldapServer.setSearchBaseDn(USERS_DN); - final String krb5confPath = createKrb5Conf(kdcServer.getTransports()[0].getPort()); + System.getProperties().forEach((k,v)-> LOGGER.debug("System property: {}={}", k,v)); + + final int port = kdcServer.getTransports()[0].getPort(); + final String krb5confPath = createKrb5Conf(port); SYSTEM_PROPERTY_SETTER.setSystemProperty("java.security.krb5.conf", krb5confPath); + SYSTEM_PROPERTY_SETTER.setSystemProperty("java.security.krb5.realm", null); + SYSTEM_PROPERTY_SETTER.setSystemProperty("java.security.krb5.kdc", null); createPrincipal("KDC", "KDC", "krbtgt", UUID.randomUUID().toString(), "krbtgt/" + REALM + "@" + REALM); createPrincipal("Service", "LDAP Service", "ldap", UUID.randomUUID().toString(), servicePrincipalName); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org