In previous versions of Play 2.0 there was the Secure Module to do authorization. What is the way to do it in Play 2.0?
Take a look at ZenTasks sample code https://github.com/playframework/Play20/tree/master/samples/scala/zentasks where Secured
trait is used to provide security features. It can be found in Application.scala file.
For the authorization portion, you can use Deadbolt 2 , which provides authorization features but does not provide authentication features. There is not equivalent to the Secure module in core Play 2.0.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.