Skip to content

Commit 82801d4

Browse files
authored
Update OpenAM dependency version to 16.0.6 (#151)
1 parent 7c9dfbe commit 82801d4

4 files changed

Lines changed: 9 additions & 7 deletions

File tree

openig-core/src/test/java/org/forgerock/openig/thread/MdcScheduledExecutorServiceDelegateTest.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
* information: "Portions copyright [year] [name of copyright owner]".
1313
*
1414
* Copyright 2016 ForgeRock AS.
15+
* Portions copyright 2026 3A Systems,LLC
1516
*/
1617

1718
package org.forgerock.openig.thread;
@@ -84,7 +85,7 @@ public void shouldScheduleWithRunnableLongTimeUnit() throws Exception {
8485
doReturn(scheduledFuture).when(delegate())
8586
.schedule(nullable(Runnable.class), eq(1L), eq(TimeUnit.SECONDS));
8687

87-
assertThat(executorService().schedule(runnable, 1, TimeUnit.SECONDS)).isSameAs(scheduledFuture);
88+
assertThat((Object)executorService().schedule(runnable, 1, TimeUnit.SECONDS)).isSameAs(scheduledFuture);
8889

8990
verify(delegate()).schedule(runnableCapture.capture(), eq(1L), eq(TimeUnit.SECONDS));
9091
assertThatCapturedRunnableIsMdcAware();
@@ -96,7 +97,7 @@ public void shouldScheduleWithCallableLongTimeUnit() throws Exception {
9697
doReturn(scheduledFuture).when(delegate())
9798
.schedule(nullable(Callable.class), eq(1L), eq(TimeUnit.SECONDS));
9899

99-
assertThat(executorService().schedule(callable, 1, TimeUnit.SECONDS)).isSameAs(scheduledFuture);
100+
assertThat((Object)executorService().schedule(callable, 1, TimeUnit.SECONDS)).isSameAs(scheduledFuture);
100101

101102
verify(delegate()).schedule(callableCapture.capture(), eq(1L), eq(TimeUnit.SECONDS));
102103
assertThatCaptureCallableIsMdcAware();
@@ -107,7 +108,7 @@ public void shouldScheduleAtFixedRateWithRunnableLongTimeUnit() throws Exception
107108
doReturn(scheduledFuture).when(delegate())
108109
.scheduleAtFixedRate(nullable(Runnable.class), eq(1L), eq(2L), eq(TimeUnit.SECONDS));
109110

110-
assertThat(executorService().scheduleAtFixedRate(runnable, 1, 2, TimeUnit.SECONDS)).isSameAs(scheduledFuture);
111+
assertThat((Object)executorService().scheduleAtFixedRate(runnable, 1, 2, TimeUnit.SECONDS)).isSameAs(scheduledFuture);
111112

112113
verify(delegate()).scheduleAtFixedRate(runnableCapture.capture(), eq(1L), eq(2L), eq(TimeUnit.SECONDS));
113114
assertThatCapturedRunnableIsMdcAware();
@@ -118,7 +119,7 @@ public void shouldScheduleWithFixedDelayWithRunnableLongTimeUnit() throws Except
118119
doReturn(scheduledFuture).when(delegate())
119120
.scheduleWithFixedDelay(nullable(Runnable.class), eq(1L), eq(2L), eq(TimeUnit.SECONDS));
120121

121-
assertThat(executorService().scheduleWithFixedDelay(runnable, 1, 2, TimeUnit.SECONDS))
122+
assertThat((Object)executorService().scheduleWithFixedDelay(runnable, 1, 2, TimeUnit.SECONDS))
122123
.isSameAs(scheduledFuture);
123124

124125
verify(delegate()).scheduleWithFixedDelay(runnableCapture.capture(), eq(1L), eq(2L), eq(TimeUnit.SECONDS));

openig-oauth2/src/test/java/org/forgerock/openig/filter/oauth2/client/ClientRegistrationFilterTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
* information: "Portions Copyright [year] [name of copyright owner]".
1313
*
1414
* Copyright 2015-2016 ForgeRock AS.
15+
* Portions Copyright 2026 3A Systems, LLC
1516
*/
1617
package org.forgerock.openig.filter.oauth2.client;
1718

@@ -149,7 +150,7 @@ public void shouldPerformDynamicRegistration() throws Exception {
149150
verify(handler).handle(eq(context), captor.capture());
150151
Request request = captor.getValue();
151152
assertThat(request.getMethod()).isEqualTo("POST");
152-
assertThat(request.getEntity().toString()).containsSequence("redirect_uris", "contact", "scopes");
153+
assertThat(request.getEntity().toString()).contains("redirect_uris", "contact", "scopes");
153154
}
154155

155156
@Test(expectedExceptions = RegistrationException.class)

openig-openam/src/test/java/org/forgerock/openig/openam/PolicyEnforcementFilterTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ private static Object[][] realms() {
393393
public static void shouldSucceedToCreateBaseUri(final String realm) throws Exception {
394394
assertThat(normalizeToJsonEndpoint(new URI("http://www.example.com:8090/openam/"), realm).toASCIIString())
395395
.endsWith("/")
396-
.containsSequence("http://www.example.com:8090/openam/json/",
396+
.contains("http://www.example.com:8090/openam/json/",
397397
realm != null ? realm.trim() : "");
398398
}
399399

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1059,7 +1059,7 @@
10591059
<dependency>
10601060
<groupId>org.openidentityplatform.openam</groupId>
10611061
<artifactId>openam</artifactId>
1062-
<version>16.0.5</version>
1062+
<version>16.0.6</version>
10631063
<type>pom</type>
10641064
<scope>import</scope>
10651065
</dependency>

0 commit comments

Comments
 (0)