[KEYCLOAK-6116] - Enabling tests for both jboss servers
This commit is contained in:
parent
6aee573e2e
commit
1f13427dee
3 changed files with 1418 additions and 2 deletions
File diff suppressed because it is too large
Load diff
|
@ -104,7 +104,7 @@ public abstract class AbstractX509AuthenticationTest extends AbstractTestRealmKe
|
||||||
|
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void onBeforeTestClass() {
|
public static void onBeforeTestClass() {
|
||||||
if (System.getProperty("auth.server.container", "undefined").endsWith("wildfly")) {
|
if (Boolean.parseBoolean(System.getProperty("auth.server.jboss"))) {
|
||||||
String authServerHome = System.getProperty("auth.server.home");
|
String authServerHome = System.getProperty("auth.server.home");
|
||||||
|
|
||||||
if (authServerHome != null && System.getProperty("auth.server.ssl.required") != null) {
|
if (authServerHome != null && System.getProperty("auth.server.ssl.required") != null) {
|
||||||
|
|
|
@ -48,7 +48,7 @@ public class X509BrowserLoginSubjectAltNameEmailTest extends AbstractX509Authent
|
||||||
|
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void onBeforeTestClass() {
|
public static void onBeforeTestClass() {
|
||||||
if (System.getProperty("auth.server.container", "undefined").endsWith("wildfly")) {
|
if (Boolean.parseBoolean(System.getProperty("auth.server.jboss"))) {
|
||||||
String authServerHome = System.getProperty("auth.server.home");
|
String authServerHome = System.getProperty("auth.server.home");
|
||||||
|
|
||||||
if (authServerHome != null && System.getProperty("auth.server.ssl.required") != null) {
|
if (authServerHome != null && System.getProperty("auth.server.ssl.required") != null) {
|
||||||
|
|
Loading…
Reference in a new issue