将Silhouette v5.0与Play 2.6集成

时间:2018-04-16 09:54:18

标签: playframework-2.6 silhouette

我正在尝试将Silhouette v5.0与play 2.6集成,但我在运行应用程序时出错,这是我的build.sbt文件和错误。比任何帮助都好。

shtl

这是错误:

val buildVersion = "0.0.4"
 version := buildVersion
 resolvers += "Sonatype Staging" at "https://oss.sonatype.org/content/repositories/staging/" 
scalaVersion := "2.12.4"
 libraryDependencies ++= Seq( 
guice,
 "com.typesafe.play" %% "play-iteratees" % "2.6.1",
 "org.reactivemongo" %% "play2-reactivemongo" % "0.12.4-fix26", "io.swagger" %% "swagger-play2" % "1.6.0",
"org.webjars" % "swagger-ui" % "3.2.2", 
"com.mohiva" %% "play-silhouette" % "5.0.0", 
"com.mohiva" %% "play-silhouette-password-bcrypt" % "5.0.0", 
"com.mohiva" %% "play-silhouette-crypto-jca" % "5.0.0", 
"com.mohiva" %% "play-silhouette-persistence" % "5.0.0", 
"com.mohiva" %% "play-silhouette-testkit" % "5.0.0" % "test" )

1 个答案:

答案 0 :(得分:0)

我被2.6限制在此播放身份验证上。在找不到解决方案时,我所做的就是在高级开发人员的帮助下,使用Deadbolt2从头开始制作一个。

这里是git仓库的link。如果您认为有帮助,请star / fork