Simplify build for different auth strategies
This commit is contained in:
committed by
Petri Tuomola
parent
c691c11699
commit
907f932abe
@@ -45,7 +45,7 @@ cargo {
|
||||
}
|
||||
startStopTimeout = 240000
|
||||
containerProperties {
|
||||
property 'cargo.start.jvmargs', '-Dspring.profiles.active=twofactor,basicauth'
|
||||
property 'cargo.start.jvmargs', '-Dfineract.security.basicauth.enabled=true -Dfineract.security.oauth.enabled=false -Dfineract.security.2fa.enabled=true'
|
||||
property 'cargo.tomcat.connector.keystoreFile', file("$rootDir/fineract-provider/src/main/resources/keystore.jks")
|
||||
property 'cargo.tomcat.connector.keystorePass', 'openmf'
|
||||
property 'cargo.tomcat.httpSecure', true
|
||||
|
||||
+1
-1
@@ -111,7 +111,7 @@ public class TwoFactorAuthenticationTest {
|
||||
.log().ifError().when().post("/fineract-provider/api/v1/authentication?" + TENANT_IDENTIFIER).asString();
|
||||
assertFalse(StringUtils.isBlank(json));
|
||||
Boolean key = JsonPath.with(json).get("isTwoFactorAuthenticationRequired");
|
||||
assertEquals(key, true);
|
||||
assertEquals(true, key);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user