Skip to content

Commit

Permalink
java17 / ala security 6.4.0 #3421
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisala committed Jan 29, 2025
1 parent 47a41bd commit 1cc55d4
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import org.pac4j.core.context.WebContext
import org.pac4j.jee.context.JEEContextFactory
import org.pac4j.jee.context.JEEFrameworkParameters
import org.pac4j.jee.context.session.JEESessionStore
import org.pac4j.jee.context.session.JEESessionStoreFactory
import org.pac4j.oidc.config.OidcConfiguration
import org.springframework.mock.web.MockHttpServletRequest
import org.springframework.mock.web.MockHttpServletResponse
Expand Down Expand Up @@ -63,7 +64,8 @@ class ParatooIntegrationSpec extends StubbedCasSpec implements GrailsUnitTest {
new JEEFrameworkParameters(request, response)
}
}
def sessionStore = JEESessionStore.INSTANCE
JEEFrameworkParameters params = new JEEFrameworkParameters(request, response)
def sessionStore = JEESessionStoreFactory.INSTANCE.newSessionStore(params)
def tokenClient = new TokenClient(oidcConfiguration)
def tokenService = new TokenService(config, oidcConfiguration, pac4jContextProvider, sessionStore, tokenClient, testConfig.webservice["client-id"], testConfig.webservice["client-secret"], testConfig.webservice["jwt-scopes"], false)

Expand Down

0 comments on commit 1cc55d4

Please sign in to comment.