我正在尝试将SecureSocial scala/demo (3.0-M1- Play -2.2.x)集成到我自己的Play应用程序中。我从演示中复制了Scala文件,添加了一个securesocial.conf,并扩展了我的路由文件以链接到SecureSocial路由。play.api.mvc.Results$Status.apply(Ljava/lang/Object;Lplay/api/http/Writeable;)Lplay/api/mvc/
当我添加@With (SecureSocial.class)来保护一个控制器类时,我得到了以下错误。不知道为什么,因为我确实在另一个有更多类的项目中工作。An unexpected error occured caused by exception VerifyError: Bad return type in method controllers.securesocial.SecureSocial.loadCurrentUserCaused by: java.lang.VerifyError: Bad return type in met
我正在使用带有securesocial的play 2.2.1,我的许多操作都是使用securesocial提供的SecuredAction进行身份验证的。scala.concurrent.Future[play.api.mvc.SimpleResult] is not defined
我知道invokeBlock应该接受play.api.mvc.Request[A]而不是securesocial.core.SecuredRequest