diff --git a/admin/app/http/AdminFilters.scala b/admin/app/http/AdminFilters.scala index cd73190ba8a..b9cf11b4a33 100644 --- a/admin/app/http/AdminFilters.scala +++ b/admin/app/http/AdminFilters.scala @@ -1,8 +1,7 @@ package http import org.apache.pekko.stream.Materializer -import GoogleAuthFilters.AuthFilterWithExemptions -import googleAuth.FilterExemptions +import CommonAuthFilters.AuthFilterWithExemptions import model.ApplicationContext import play.api.http.{HttpConfiguration, HttpFilters} import play.api.mvc.EssentialFilter diff --git a/common/app/http/GoogleAuthFilters.scala b/common/app/http/CommonAuthFilters.scala similarity index 98% rename from common/app/http/GoogleAuthFilters.scala rename to common/app/http/CommonAuthFilters.scala index 1a8740cea20..f918a4891fc 100644 --- a/common/app/http/GoogleAuthFilters.scala +++ b/common/app/http/CommonAuthFilters.scala @@ -11,7 +11,7 @@ import play.api.mvc.{Filter, RequestHeader, Result} import scala.concurrent.Future -object GoogleAuthFilters { +object CommonAuthFilters { val LOGIN_ORIGIN_KEY = "loginOriginUrl" class AuthFilterWithExemptions(loginUrl: FilterExemption, exemptions: Seq[FilterExemption])(implicit diff --git a/preview/app/http/PreviewFilters.scala b/preview/app/http/PreviewFilters.scala index caee6160d10..2e888400bfb 100644 --- a/preview/app/http/PreviewFilters.scala +++ b/preview/app/http/PreviewFilters.scala @@ -1,9 +1,8 @@ package http import org.apache.pekko.stream.Materializer -import GoogleAuthFilters.AuthFilterWithExemptions +import CommonAuthFilters.AuthFilterWithExemptions import controllers.HealthCheck -import googleAuth.FilterExemptions import model.ApplicationContext import play.api.http.{HttpConfiguration, HttpFilters} import play.api.mvc.{Filter, RequestHeader, Result}