Skip to content

Commit

Permalink
Update to Java 11
Browse files Browse the repository at this point in the history
  • Loading branch information
rtyley committed Sep 18, 2024
1 parent 039dccb commit 85c47dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ val maybeBBCLib: Option[sbt.ProjectReference] = if(bbcBuildProcess) Some(bbcProj
lazy val commonLib = project("common-lib").settings(
libraryDependencies ++= Seq(
"com.gu" %% "editorial-permissions-client" % "3.0.0",
"com.gu" %% "pan-domain-auth-play_2-8" % "4.0.0",
"com.gu" %% "pan-domain-auth-play_2-8" % "7.0.0",
"com.amazonaws" % "aws-java-sdk-iam" % awsSdkVersion,
"com.amazonaws" % "aws-java-sdk-s3" % awsSdkVersion,
"com.amazonaws" % "aws-java-sdk-ec2" % awsSdkVersion,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class PandaAuthenticationProvider(
val pandaStatus = extractAuth(request)
val providerStatus = pandaStatus match {
case PandaNotAuthenticated => NotAuthenticated
case PandaInvalidCookie(e) => Invalid("error checking user's auth, clear cookie and re-auth", Some(e))
case PandaInvalidCookie(e) => Invalid(s"error checking user's auth, clear cookie and re-auth (${e.getClass.getSimpleName})")
case PandaExpired(authedUser) => Expired(gridUserFrom(authedUser.user, request))
case PandaGracePeriod(authedUser) => Authenticated(gridUserFrom(authedUser.user, request))
case PandaNotAuthorised(authedUser) => NotAuthorised(s"${authedUser.user.email} not authorised to use application")
Expand Down

0 comments on commit 85c47dd

Please sign in to comment.