Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
* information: "Portions copyright [year] [name of copyright owner]".
*
* Copyright 2011-2016 ForgeRock AS.
* Portions Copyrighted 2026 3A Systems, LLC.
*/

package org.forgerock.openidm.provisioner.openicf.impl;
Expand Down Expand Up @@ -202,20 +203,22 @@ public void testGetAllConnectorInfo() throws Exception {
.isNotEmpty();
}

@Test(enabled = false)
@Test
public void testPropertiesToEncrypt() throws Exception {
// The original Solaris connector fixture was removed from the platform; exercise the same
// "confidential configuration property" detection path against the Groovy connector, whose
// schema marks customSensitiveConfiguration as a GuardedString.
InputStream inputStream =
ConnectorInfoProviderServiceTest.class
.getResourceAsStream("/config/org.forgerock.openidm.provisioner.openicf.impl.OpenICFProvisionerServiceSolarisConnectorTest.json");
.getResourceAsStream("/config/provisioner.openicf-groovy.json");
assertThat(inputStream).isNotNull();

List<JsonPointer> result =
testableConnectorInfoProvider.getPropertiesToEncrypt(OpenICFProvisionerService.PID,
null, new JsonValue(mapper.readValue(inputStream, Map.class)));
String[] expected =
new String[] { "/configurationProperties/password",
"/configurationProperties/credentials", "/configurationProperties/privateKey",
"/configurationProperties/passphrase" };
new String[] { "/configurationProperties/customSensitiveConfiguration" };
assertThat(result).isNotEmpty();
for (JsonPointer pointer : result) {
assertThat(expected).contains(pointer.toString());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
* information: "Portions copyright [year] [name of copyright owner]".
*
* Copyright 2011-2016 ForgeRock AS.
* Portions Copyrighted 2026 3A Systems, LLC.
*/
package org.forgerock.openidm.provisioner.openicf.impl;

Expand Down Expand Up @@ -852,7 +853,7 @@ public void testSync(String systemName) throws Exception {
}


@Test(dataProvider = "groovy-only", enabled = false)
@Test(dataProvider = "groovy-only")
public void testPagedSearch(String systemName) throws Exception {

for (int i = 0; i < 100; i++) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
* information: "Portions copyright [year] [name of copyright owner]".
*
* Portions copyright 2011-2015 ForgeRock AS.
* Portions Copyrighted 2026 3A Systems, LLC.
*/
package org.forgerock.openidm.scheduler;

Expand Down Expand Up @@ -47,7 +48,7 @@ public void configParsingTest() throws ResourceException {
assertThat(scheduleConfig.getStartTime()).isNotNull();
}

@Test(enabled = false, expectedExceptions = ResourceException.class)
@Test(expectedExceptions = ResourceException.class)
public void invalidConfigParsingTest() throws ResourceException {
// Check invalid configuration fails
Map<String, Object> config = new HashMap<String, Object>();
Expand Down
Loading