Skip to content

Commit

Permalink
[#671] Add scheduledExecutorService reference for NonExpiringSessionM…
Browse files Browse the repository at this point in the history
…anager (#674)
  • Loading branch information
vharseko authored Oct 26, 2023
1 parent b35950d commit 825f656
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,14 @@ public class SessionAccessManager {
private final SessionCache sessionCache;
private final InternalSessionStore internalSessionStore;
private final NonExpiringSessionManager nonExpiringSessionManager;

private final ScheduledExecutorService scheduledExecutorService;

@VisibleForTesting
@Inject
SessionAccessManager(final SessionCache sessionCache, final AMExecutorServiceFactory esf,
final ThreadMonitor threadMonitor, final InternalSessionStore internalSessionStore) {
this.sessionCache = sessionCache;
ScheduledExecutorService scheduledExecutorService = esf.createScheduledService(1, "NonExpiringSessionManager");
this.scheduledExecutorService = esf.createScheduledService(1, "NonExpiringSessionManager");
this.nonExpiringSessionManager = new NonExpiringSessionManager(this, scheduledExecutorService, threadMonitor);
this.internalSessionStore = internalSessionStore;
}
Expand Down
4 changes: 2 additions & 2 deletions openam-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven3-plugin</artifactId>
<version>1.10.9</version>
<version>1.10.10</version>
<dependencies>
<dependency>
<groupId>org.codehaus.plexus</groupId>
Expand Down Expand Up @@ -99,7 +99,7 @@
<com.sun.identity.configuration.directory>${basedir}/target/config</com.sun.identity.configuration.directory>
<logback.configurationFile>${basedir}/src/test/resources/logback-test.xml</logback.configurationFile>
<ssoadm.disabled>false</ssoadm.disabled>
<!-- <com.iplanet.services.debug.level>message</com.iplanet.services.debug.level>-->
<com.iplanet.services.debug.level>message</com.iplanet.services.debug.level>
<com.iplanet.services.debug.directory />
<com.sun.services.debug.mergeall>on</com.sun.services.debug.mergeall>
<XUI.enable>false</XUI.enable>
Expand Down

0 comments on commit 825f656

Please sign in to comment.